Now install MRTG and configure fast and easy steps guide for installation and configuration on centos.
Linux based Multi Router Traffic Grapher installation guide on your Linux box.
Multi Router Traffic Grapher - MRTG is a powerful tool to monitor your organization network traffic load live on network links. MRTG tool generates HTML (Hyper Text Markup Language) based web pages containing .PNG images files which helps you to provide a LIVE visual, graphical representation of your running network traffic. now we can follow few easy steps to know how to install & configure Multi Router Traffic Grapher on the Cent OS Linux platform, we can use these easy steps in any our Linux distributions to complete the steps.
Step 1. install the Apache web server using yum#yum -y install httpd
#service httpd restart
Step2. Install MRTG using through YUM package manager
#yum -y install net-snmp mrtg net-snmp-utils
Step3. Configure the SNMP
#vi /etc/snmp/snmpd.conf
#mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf-bak
#cd /etc/snmp/
#vi snmpd.conf
rocommunity public
syslocation "My Server Room"
syscontact Root <chandan@techitadmin.com>
Now Save the Configuration
Step4. Restart the snmpd service
Step5. now to check the status
#snmpwalk -v2c -c public localhost system
Step6. Include your server IP on cfgmaker
#cfgmaker --snmp-options=:::::2 --ifref=descr --ifdesc=descr --global 'WorkDir: /var/www/html/mymrtg' public@192.168.1.1 > /etc/mrtg/mrtg.cfg
Step7. Create the index file
#cd /var/www/html/
#mkdir mymrtg
#indexmaker --columns=1 /etc/mrtg/mrtg.cfg > /var/www/html/mymrtg/index.html
Step8. Configure mrtg.conf
#vi /etc/httpd/conf.d/mrtg.conf
Just only add the Alias and remove the remaining entries.
Alias /mrtg /var/www/html/mymrtg
Step9 . Restart the httpd service
#service httpd restart
#service snmpd restart
Yes now complete the installation we can run and test on your browser.
0 Comments:
Post a Comment