Procedure:
From the terminal:
#: yum install snmp
Check if snmp is installed
# rpm -qa | grep snmp
Start the service fr. the terminal
# service snmpd start
#chkconfig snmpd on ( to start the service after reboot)
Configuration.
# vi /etc/snmp/snmpd.conf
enter the ff:
rocommunity craz33guy
disk /
where cras33guy = userrname
From terminal
# cfgmaker --global 'workdir: /var/www/mrtg/mymrtg' --output /etc/mrtg/mrtg.cfg craz33guy@192.168.60.xxx
# env LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg.l --confcache-file /var/lib/mrtg/mrtg.ok
# indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg
then open /etc/#vi /etc/mrtg - edit the necessary changes
I.E. mrtgTitle[192.168.60.191_192.168.60.191]: Traffic Analysis for 3 -- row-based|\
TWO CONNECT OTHER SERVER/UNIT
Fr. /etc/mrtg/dotxxx
Edit the ff:
# cd /etc/mrtg### Interface 3 >> Descr: 'eth0' | Name: 'eth0' | Ip: '192.168.60.191' | Eth: '00-13-46-3c-80-77' ###
Target[192.168.60.xxx_192.168.60.xxx]: /192.168.60.xxx:craz33guy@192.168.60.xxx:
SetEnv[192.168.60.xxx_192.168.60.xxx]: MRTG_INT_IP="192.168.60.xxx" MRTG_INT_DESCR="eth0"
MaxBytes[192.168.60.xxx_192.168.60.xxx]: 12500000
#mkdir dotxxx i.e dot191
Title[192.168.60.191_192.168.60.191]: Traffic Analysis for 3 -- row-based|\
PageTop[192.168.60.191_192.168.60.191]: <h1>192.168.60.191 -- row-based </h1>
<div id="sysdetails">
<table> <tr> <td>System:</td> <td>row-based in Unknown</td>
</tr> <tr> <td>Maintainer:</td><td>root@localhost</td>
</tr> <tr><td>Description:</td> <td>eth0 </td>
</tr> <tr><td>ifType:</td><td>ethernetCsmacd (6)</td>
</tr>
<tr><td>ifName:</td> <td>eth0</td>
</tr>
<tr> <td>Max Speed:</td><td>12.5 MBytes/s</td>
</tr>
<tr> <td>Ip:</td> <td>192.168.60.191 ()</td>
</tr>
</table>
</div>
then type
# env LANG=C /usr/bin/mrtg /etc/mrtg/dot191/dot191.cfg --lock-file /var/lock/mrtg/dot191._l --confcache-file /var/lib/mrtg/dot191.ok
# indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg /etc/mrtg/dot191/dot191.cfg
To VIEW MRTG
Fr. browser type
192.168.60.xxx/mrtg
Wednesday, January 9, 2013
Subscribe to:
Post Comments (Atom)
SEO TOOLS
|
Check Page Rank of your Web site pages instantly: |
|
This page rank checking tool is powered by Page Rank Checker service |
No comments:
Post a Comment