in this section we learn how to install MRTG program that help us to see network devices how use bandwidth,CPU usage ....
we need to configure and run 3 service that work directly by Mrtg : apache web server -running SNMP at least a password between MRTG <==(Community)==> SNMP that call it community!
------------------------------------
Step I
for running apache web server :
1)chmod +x /etc/rc.d/rc.httpd
2) /etc/rc.d/rc.httpd start
3) ps -A | grep httpd <== check truely running
-------------------------------------
Step II
in this step running SNMP ( Simple Network Monitoring Protocol )
on command line Write :
1)snmpconf push Enter
1.a-chose 1 (snmpd.conf)
1.b-chose 1 (Access control Setup)
1.c-chose 3 (snmp V1/V2 Read only community )
{tell which IP can access snmp : 127.0.0.1}
1.d- chose OIO and enter
for exit this part : finished,finished and Quit
now Move snmp.conf /etc/snmp
mv snmp.conf /etc/snmp
chmod +x /etc/rc.d/rc.snmpd
/etc/rc.d/rc.snmpd start
ps -A | grep snmp
------------------------------------------------
Step III
Install MRTG with Source and compile it ;)
1-download it
Tuesday, May 24, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment