Page 1 of 2
OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Tue Sep 30, 2014 6:51 am
by bio-network-team
Hello,
We are currently deploying Nagios in production and we encounter a problem with the supervision of the bandwidth of our interfaces.
Indeed, they showing: 0Mbps Out: 0Mbps. No interface displays information about bandwidth.
We used the Switch/Router Monitoring Wizard to configure our switches, in total we have over 1000 switches. What should we do to fix this?
When we add a switch we get this message for bandwith service : /var/lib/mrtg/X.X.X.X_X.rrd does not exist.
PS: Why we do not have access to customer forum ?
Re: OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Tue Sep 30, 2014 9:23 am
by slansing
How log has it been since you configured the checks? What interval are they at? Are you sure you chose the correct SNMP version for each one? Also, please post the output of the following (in code wraps):
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg –check
It is possible some are giving incorrect evals, or timing out, thus causing the others not to be checked. What version of XI is this on?
Re: OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Tue Sep 30, 2014 9:33 am
by bio-network-team
We configured the checks few days ago, and we continue to add new switch, but we still have the same problem with the new switch.
The interval is 5min.
The SNMP is good because we receive the SNMP TRAP.
When we execute this command LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg –check nothing hapens or the command takes a lot of time ??
Re: OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Tue Sep 30, 2014 2:35 pm
by lmiltchev
Actually run the command (without the "–check" part) and show us the output (if any):
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Note: If there is no output, this means there are no config errors.
PS: Why we do not have access to customer forum ?
PM me your name, email & company name. I will verify the info, and will grant you an access to the Customer Support Forum. Thanks!
Re: OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Fri Mar 27, 2015 4:16 pm
by anupdaran
Hi,
I'm facing the same problem. I gave the following command:
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
and the output was this:
Code: Select all
Subroutine SNMP_Session::pack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149.
Subroutine SNMP_Session::unpack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149.
Subroutine SNMPv1_Session::pack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604.
Subroutine SNMPv1_Session::unpack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 604.
Kindly help.
Re: OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Mon Mar 30, 2015 11:02 am
by tgriep
Could you run the following commands and post back the results?
Code: Select all
yum list installed |grep mrtg
yum list installed |grep snmp
uname -a
cat /etc/*release
Re: OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Sat May 09, 2015 12:08 am
by pchenry
Im also having the exact same issue ....
Centos 7 ... latest nagiosxi
Subroutine SNMP_Session::pack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
at /usr/bin/../lib/mrtg2/SNMP_Session.pm line 149.
Subroutine SNMP_Session::unpack_sockaddr_in6 redefined at /usr/share/perl5/vendor_perl/Exporter.pm line 66.
Re: OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Sun May 10, 2015 11:02 pm
by Box293
Could you run the following commands and post back the results?
Code: Select all
yum list installed |grep mrtg
yum list installed |grep snmp
uname -a
cat /etc/*release
Re: OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Tue May 12, 2015 2:53 pm
by pchenry
[root@nagios ~]# yum list installed |grep mrtg
mrtg.x86_64 2.17.4-11.el7 @base
[root@nagios ~]# yum list installed |grep snmp
net-snmp.x86_64 1:5.7.2-20.el7 @base
net-snmp-agent-libs.x86_64 1:5.7.2-20.el7 @base
net-snmp-libs.x86_64 1:5.7.2-20.el7 @base
net-snmp-utils.x86_64 1:5.7.2-20.el7 @base
php-snmp.x86_64 5.4.16-23.el7_0.3 @base
[root@nagios ~]# uname -a
Linux nagios 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@nagios ~]# cat /etc/*release
CentOS Linux release 7.1.1503 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="
https://www.centos.org/"
BUG_REPORT_URL="
https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.1.1503 (Core)
CentOS Linux release 7.1.1503 (Core)
[root@nagios ~]#
Re: OK - Current BW in: 0Mbps Out: 0Mbps ???
Posted: Wed May 13, 2015 1:56 am
by Box293
Can you have a read of this thread and see if it applies to you:
https://odesk.by/archives/1169