not getting bandwidth output

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: not getting bandwidth output

Post 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

Code: Select all

service rrdcached restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post by wiproltdwiv »

changes has done, but nothing changed. same issue
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: not getting bandwidth output

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: not getting bandwidth output

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: not getting bandwidth output

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: not getting bandwidth output

Post by scottwilkerson »

It really seems like this is somehow still due to rrdcached setup

Can I have you run the following again

Code: Select all

ll /tmp/rrd.journal.*
Also, run

Code: Select all

ls -l /var/rrdtool/rrdcached/rrdcached.sock
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: not getting bandwidth output

Post 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]#
Locked