OK - Current BW in: 0Mbps Out: 0Mbps ???

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bio-network-team
Posts: 2
Joined: Wed Sep 17, 2014 7:46 am

OK - Current BW in: 0Mbps Out: 0Mbps ???

Post 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 ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: OK - Current BW in: 0Mbps Out: 0Mbps ???

Post 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?
bio-network-team
Posts: 2
Joined: Wed Sep 17, 2014 7:46 am

Re: OK - Current BW in: 0Mbps Out: 0Mbps ???

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

Re: OK - Current BW in: 0Mbps Out: 0Mbps ???

Post 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
anupdaran
Posts: 1
Joined: Fri Mar 20, 2015 7:33 pm

Re: OK - Current BW in: 0Mbps Out: 0Mbps ???

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: OK - Current BW in: 0Mbps Out: 0Mbps ???

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
pchenry
Posts: 3
Joined: Sat May 09, 2015 12:05 am

Re: OK - Current BW in: 0Mbps Out: 0Mbps ???

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: OK - Current BW in: 0Mbps Out: 0Mbps ???

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
pchenry
Posts: 3
Joined: Sat May 09, 2015 12:05 am

Re: OK - Current BW in: 0Mbps Out: 0Mbps ???

Post 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 ~]#
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: OK - Current BW in: 0Mbps Out: 0Mbps ???

Post by Box293 »

Can you have a read of this thread and see if it applies to you:

https://odesk.by/archives/1169
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked