not getting bandwidth output
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
not getting bandwidth output
Hi Team,
I am not getting output of bandwidth, it is always zero only. Please suggest.
I am not getting output of bandwidth, it is always zero only. Please suggest.
You do not have the required permissions to view the files attached to this post.
Re: not getting bandwidth output
wiproltdwiv,
what does the check command look like in the Core Config Manager?
http://your_ip/nagiosxi/config/ > core config manager> services
-Yancy
what does the check command look like in the Core Config Manager?
http://your_ip/nagiosxi/config/ > core config manager> services
-Yancy
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: not getting bandwidth output
pls find the attached screen, we are using same like as for all.
You do not have the required permissions to view the files attached to this post.
-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: not getting bandwidth output
pls forgive, i had attached wrong screen. herewith attaching new screen.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: not getting bandwidth output
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-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: not getting bandwidth output
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]#
[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]#
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: not getting bandwidth output
Can you run the following commands
Code: Select all
ls -l /tmp/rrd.journal*
cat /etc/sysconfig/rrdcached-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: not getting bandwidth output
[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
-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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: not getting bandwidth output
Lets try restarting rrdcached
Code: Select all
service rrdcached restart-
wiproltdwiv
- Posts: 281
- Joined: Sat Sep 08, 2012 12:52 am
Re: not getting bandwidth output
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.
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.
Last edited by wiproltdwiv on Wed Feb 06, 2013 2:47 am, edited 1 time in total.