Page 1 of 5
not getting bandwidth output
Posted: Mon Jan 28, 2013 11:11 pm
by wiproltdwiv
Hi Team,
I am not getting output of bandwidth, it is always zero only. Please suggest.
Re: not getting bandwidth output
Posted: Tue Jan 29, 2013 10:30 am
by yancy
wiproltdwiv,
what does the check command look like in the Core Config Manager?
http://your_ip/nagiosxi/config/ > core config manager> services
-Yancy
Re: not getting bandwidth output
Posted: Wed Jan 30, 2013 12:22 am
by wiproltdwiv
pls find the attached screen, we are using same like as for all.
Re: not getting bandwidth output
Posted: Wed Jan 30, 2013 12:25 am
by wiproltdwiv
pls forgive, i had attached wrong screen. herewith attaching new screen.
Re: not getting bandwidth output
Posted: Wed Jan 30, 2013 10:09 am
by scottwilkerson
Can you run the following from the console and let us know if there is any output
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Re: not getting bandwidth output
Posted: Thu Jan 31, 2013 3:43 am
by wiproltdwiv
I did not get any output or error while i checked with below both command. Also i have add Libadd entry in mrtg file also rrdcached is running.
[root@EMSNagios1 etc]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --check
[root@EMSNagios1 etc]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
[root@EMSNagios1 etc]# more /etc/mrtg/mrtg.cfg
LibAdd: /opt/rrdtool-1.4.4/lib/perl/5.10.1/x86_64-linux-thread-multi
######################################################################
# Multi Router Traffic Grapher -- Example Configuration File
######################################################################
# This file is for use with mrtg-2.0
#
[root@EMSNagios1 etc]# service rrdcached status
rrdcached (pid 7754) is running...
[root@EMSNagios1 etc]#
Re: not getting bandwidth output
Posted: Thu Jan 31, 2013 9:14 am
by scottwilkerson
Can you run the following commands
Code: Select all
ls -l /tmp/rrd.journal*
cat /etc/sysconfig/rrdcached
Re: not getting bandwidth output
Posted: Mon Feb 04, 2013 5:48 am
by wiproltdwiv
[root@EMSNagios1 etc]# ls -l /tmp/rrd.journal*
-rw-r--r-- 1 nagios users 694961 Feb 4 15:19 /tmp/rrd.journal.1359967792.403124
-rw-r--r-- 1 nagios users 5189632 Feb 4 16:16 /tmp/rrd.journal.1359971392.403518
[root@EMSNagios1 etc]#
[root@EMSNagios1 etc]# cat /etc/sysconfig/rrdcached
OPTIONS="-l unix:/var/rrdtool/rrdcached/rrdcached.sock -F -s nagios -m 0660 -w 900 -z 90 -j /tmp/ -b /var/rrdtool/rrdcached -P FLUSH,PENDING"
RRDC_USER=nagios
[root@EMSNagios1 etc]#
please check and do the needful
Re: not getting bandwidth output
Posted: Mon Feb 04, 2013 9:01 am
by scottwilkerson
Lets try restarting rrdcached
Re: not getting bandwidth output
Posted: Tue Feb 05, 2013 12:22 am
by wiproltdwiv
nothing changed, still same issue.
getting error checking with below command
[root@EMSNagios1 ~]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
SNMP Error:
no response received
SNMPv2c_Session (remote host: "10.152.119.65" [10.152.119.65].161)
community: <<SNMP STRING>>
request ID: 1750944170
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 STRING>>@10.152.119.65:::::2:v4only
at /usr/bin/mrtg line 2202
2013-02-06 13:05:06: WARNING: skipping because at least the query for ifHCInOctets.4 on 10.152
.119.65 did not succeed
2013-02-06 13:05:06: WARNING: no data for ifHCInOctets&ifHCOutOctets:<<SNMP STRING>>@10.152.119.65. Sk
ipping further queries for Host 10.152.119.65 in this round.