SNMP router graphing
Posted: Tue Oct 25, 2011 1:00 am
HI
I have Nagios XI VM installed and up and running that is montioring srevers etc fine.
I also have setup SNMP on all the site routers to monitor uptime, bandwidth etc.
Out of 30+ routers, only 3 of the routers are graphing for some reason. I have checked SNMP by doing a SNMPwalk to the router and the counters are increasing.
See below-
[root@sysmon libexec]# snmpwalk -c "public" -v 2c 10.11.8.1 ifInOctets.1
IF-MIB::ifInOctets.1 = Counter32: 947012794
I have added the host and it finds the interfaces fine when using the config wizard, but when I run a check_rrdtraf, it only reports 0bps... See below
[root@sysmon libexec]# ./check_rrdtraf -f '/var/lib/mrtg/10.11.8.1_1.rrd' -w 1 -c 2
OK - Current BW in: 0bps Out: 0bps|in=0b/s;1;2 out=0b/s;1;2
This is however working on 3 routers which are the same router and have the similar config.
working router
[root@sysmon libexec]# snmpwalk -c "public" -v 2c 10.11.33.1 ifInOctets.1
IF-MIB::ifInOctets.1 = Counter32: 634929203
[root@lsysmon libexec]# ./check_rrdtraf -f '/var/lib/mrtg/10.11.33.1_1.rrd' -w 1 -c 2
CRITICAL - Current BW in: 290.11Kbps Out: 181.48Kbps|in=290.117433Kb/s;1;2 out=181.486951Kb/s;1;2
You have new mail in /var/spool/mail/root
With the walk showing the counter incrementing and some routers working, i think it must be something to do with Nagios XI.
can someone please help?
thanks in adavance
David
I have Nagios XI VM installed and up and running that is montioring srevers etc fine.
I also have setup SNMP on all the site routers to monitor uptime, bandwidth etc.
Out of 30+ routers, only 3 of the routers are graphing for some reason. I have checked SNMP by doing a SNMPwalk to the router and the counters are increasing.
See below-
[root@sysmon libexec]# snmpwalk -c "public" -v 2c 10.11.8.1 ifInOctets.1
IF-MIB::ifInOctets.1 = Counter32: 947012794
I have added the host and it finds the interfaces fine when using the config wizard, but when I run a check_rrdtraf, it only reports 0bps... See below
[root@sysmon libexec]# ./check_rrdtraf -f '/var/lib/mrtg/10.11.8.1_1.rrd' -w 1 -c 2
OK - Current BW in: 0bps Out: 0bps|in=0b/s;1;2 out=0b/s;1;2
This is however working on 3 routers which are the same router and have the similar config.
working router
[root@sysmon libexec]# snmpwalk -c "public" -v 2c 10.11.33.1 ifInOctets.1
IF-MIB::ifInOctets.1 = Counter32: 634929203
[root@lsysmon libexec]# ./check_rrdtraf -f '/var/lib/mrtg/10.11.33.1_1.rrd' -w 1 -c 2
CRITICAL - Current BW in: 290.11Kbps Out: 181.48Kbps|in=290.117433Kb/s;1;2 out=181.486951Kb/s;1;2
You have new mail in /var/spool/mail/root
With the walk showing the counter incrementing and some routers working, i think it must be something to do with Nagios XI.
can someone please help?
thanks in adavance
David