Page 2 of 5
Re: not getting bandwidth output
Posted: Tue Feb 05, 2013 12:13 pm
by scottwilkerson
Can you update the following in /etc/sysconfig/rrdcached
change it to the following (
order matters)
Code: Select all
OPTIONS="-s nagios -m 0660 -l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -w 900 -z 90 -j /tmp/ -b /var/rrdtool/rrdcached -P FLUSH,PENDING"
RRDC_USER=nagios
Then restart rrdcached
Re: not getting bandwidth output
Posted: Wed Feb 06, 2013 1:06 am
by wiproltdwiv
changes has done, but nothing changed. same issue
Re: not getting bandwidth output
Posted: Wed Feb 06, 2013 12:25 pm
by scottwilkerson
Based on the output you showed here
http://support.nagios.com/forum/viewtop ... 102#p44205
Are you sure you have the correct community string? Did it change after adding the 10.152.119.65?
Can you run the following from the NAgios server
Code: Select all
snmpget -v2c -c <COMMUNITY_STRING> 10.152.119.65 ifHCInOctets.4
Re: not getting bandwidth output
Posted: Wed Feb 06, 2013 11:47 pm
by wiproltdwiv
Yes we have correct string, with same we are monitoring other devices also
[root@EMSNagios1 ~]# snmpget -v2c -c <COMMUNITY_STRING> 10.152.119.65 ifHCInOctets.4
IF-MIB::ifHCInOctets.4 = Counter64: 0
Re: not getting bandwidth output
Posted: Sat Feb 09, 2013 7:05 pm
by scottwilkerson
Can you run this again to see if you are still getting the same error
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Re: not getting bandwidth output
Posted: Mon Feb 11, 2013 1:11 am
by wiproltdwiv
[root@EMSNagios1 spool]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
SNMP Error:
no response received
SNMPv2c_Session (remote host: "10.152.154.1" [10.152.154.1].161)
community: "<SNMP>"
request ID: 1268740841
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 492
SNMPGET Problem for ifHCInOctets.4 ifHCOutOctets.4 on <SNMP>@10.152.154.1:::::2:v4only
at /usr/bin/mrtg line 2202
2013-02-11 11:35:32: WARNING: skipping because at least the query for ifHCInOctets.4 on 10.152.154.1 did not succeed
2013-02-11 11:35:32: WARNING: no data for ifHCInOctets&ifHCOutOctets:<SNMP>@10.152.154.1. Skipping further queries for Host 10.152.154.1 in this round.
Re: not getting bandwidth output
Posted: Tue Feb 12, 2013 1:45 pm
by lmiltchev
Is there a connectivity problem between your system and the remote system? Can you ping the remote host?
Is snmpd running on the remote host?
Re: not getting bandwidth output
Posted: Wed Feb 13, 2013 12:07 am
by wiproltdwiv
There is no snmp issue, i ran that command when router was off. so it was showing like. we are monitoring more than 1000 routers.
we able to monitor port status, ping. only we are not getting bandwidth for all router. Now we are in high pressure, cause it is pending from long time. please suggest as soon.
[root@EMSNagios1 ~]# ping 10.152.154.1
PING 10.152.154.1 (10.152.154.1) 56(84) bytes of data.
64 bytes from 10.152.154.1: icmp_seq=1 ttl=255 time=584 ms
64 bytes from 10.152.154.1: icmp_seq=2 ttl=255 time=574 ms
64 bytes from 10.152.154.1: icmp_seq=3 ttl=255 time=565 ms
Re: not getting bandwidth output
Posted: Wed Feb 13, 2013 3:43 pm
by scottwilkerson
It really seems like this is somehow still due to rrdcached setup
Can I have you run the following again
Also, run
Code: Select all
ls -l /var/rrdtool/rrdcached/rrdcached.sock
Re: not getting bandwidth output
Posted: Thu Feb 14, 2013 11:57 pm
by wiproltdwiv
[root@EMSNagios1 spool]# ll /tmp/rrd.journal.*
-rw-r--r-- 1 nagios users 1839599 Feb 15 09:53 /tmp/rrd.journal.1360898635.543799
-rw-r--r-- 1 nagios users 3375104 Feb 15 10:24 /tmp/rrd.journal.1360902235.543919
[root@EMSNagios1 spool]#
[root@EMSNagios1 spool]# ls -l /var/rrdtool/rrdcached/rrdcached.sock
srwxr-xr-x 1 nagios users 0 Feb 13 17:53 /var/rrdtool/rrdcached/rrdcached.sock
[root@EMSNagios1 spool]#