Using MRTG to monitor the performance on DELL switch
Posted: Fri May 17, 2013 2:50 pm
Hi;
I am configuring the MRTG to monitor the performance of my DELL 3348 switch, after configured the MRTG on my Nagios Core server and running it with the following command.
/usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' --output /home/mrtg/cfg/mrtg.cfg snmp_community_name@ip_addr_of_monitored_switch
/usr/local/mrtg-2/bin/indexmaker --output=/var/www/mrtg/index.html /home/mrtg/cfg/mrtg.cfg
env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg
then, I checked my /var/www/mrtg folder and open the index.html file on browser, I can see the link liked below but I do not see other files on my server such as 172.16.3.278_9-day.png.
How can I find those files and how can I integrate them to my Nagios config file to show them on Nagios site?
<tr>
<td><DIV><B>Traffic Analysis for 9 -- </B></DIV>
<DIV><A HREF="172.16.3.247_9.html"><IMG BORDER=1 ALT="172.16.3.247_9 Traffic Graph" SRC="172.16.3.247_9-day.png"></A><BR>
<SMALL><!--#flastmod file="172.16.3.247_9.html" --></SMALL></DIV>
</td><td><DIV><B>Traffic Analysis for 12 -- </B></DIV>
<DIV><A HREF="172.16.3.247_12.html"><IMG BORDER=1 ALT="172.16.3.247_12 Traffic Graph" SRC="172.16.3.247_12-day.png"></A><$
<SMALL><!--#flastmod file="172.16.3.247_12.html" --></SMALL></DIV>
</td></tr>
I am configuring the MRTG to monitor the performance of my DELL 3348 switch, after configured the MRTG on my Nagios Core server and running it with the following command.
/usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' --output /home/mrtg/cfg/mrtg.cfg snmp_community_name@ip_addr_of_monitored_switch
/usr/local/mrtg-2/bin/indexmaker --output=/var/www/mrtg/index.html /home/mrtg/cfg/mrtg.cfg
env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg
then, I checked my /var/www/mrtg folder and open the index.html file on browser, I can see the link liked below but I do not see other files on my server such as 172.16.3.278_9-day.png.
How can I find those files and how can I integrate them to my Nagios config file to show them on Nagios site?
<tr>
<td><DIV><B>Traffic Analysis for 9 -- </B></DIV>
<DIV><A HREF="172.16.3.247_9.html"><IMG BORDER=1 ALT="172.16.3.247_9 Traffic Graph" SRC="172.16.3.247_9-day.png"></A><BR>
<SMALL><!--#flastmod file="172.16.3.247_9.html" --></SMALL></DIV>
</td><td><DIV><B>Traffic Analysis for 12 -- </B></DIV>
<DIV><A HREF="172.16.3.247_12.html"><IMG BORDER=1 ALT="172.16.3.247_12 Traffic Graph" SRC="172.16.3.247_12-day.png"></A><$
<SMALL><!--#flastmod file="172.16.3.247_12.html" --></SMALL></DIV>
</td></tr>