Bandwith Graphs show 0/0 in all network hosts.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

Hello,

After delete the .rrd files for the host 10.250.99.10, the files are recreated. However, the graahs continue no showing data on bandwith values.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

Can you login to the XI GUI and go to the Admin > Manage Config Wizards, check for updates and update the Network Switch / Router wizard.

Then, delete the /etc/mrtg/conf.d/10.250.99.10.cfg file from the system and the rrd files from the /var/lib/mrtg folder.

Then run the Network Switch / Router wizard again.
When you run the wizard, make sure you check the Scan Interfaces box and you put in 1000000000 for the Default Port Speed. (1 Gig)
Click on the Next button and verify that the settings for that device are correct, name, speed, description, etc.

Let the system run for 15 to 20 minutes to gather information and then view the Bandwidth to see if it is correct.
Be sure to check out our Knowledgebase for helpful articles and solutions!
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

Hello,

I did exactly what you said but unfortunately the results are the same. All interfaces show 0/0MB (in and out) on bandwith graphs.

Please note that is the second time we try this last 3 steps with no results.

Thank you.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

Can you post this file from the server here?

Code: Select all

/etc/mrtg/conf.d/10.250.99.10.cfg
Also, go to the /var/lib/mrtg folder and zip up all of the rrd files that start with 10.250.99.10 and upload them to the ticket.

Can you run the following commands as root and post the the /tmp/mrtg.txt file here?

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,log &> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg &>> /tmp/mrtg.txt
The part that is puzzling is that the data received from the working systems, that are running snmpv2 is the same as the data for the devices using snmpv3.
If you like, re-run the wizard and use SNMPv2 instead and see if that works.
Be sure to check out our Knowledgebase for helpful articles and solutions!
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

HI

In atach follow the required files.

I used the same wizard in a new equipment and i used SNMPv2. It works correctly.
What could be the difference between the two versions?


Thank you
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

That is the difficult thing, the debug file, mrtg.txt file show that both the devices using SNMPv2 and SNMPv3 are returning data and it looks valid.
It is just not putting the data in to the RRD files. Maybe there is another perl module installed on you system that is causing the data to not get put in the rrd files as SNMPv3.

Run this command on the server and post the output here.

Code: Select all

cpan -l |grep -i rrd
cpan -l |grep -i snmp
The device that works using SNMPv2. It is the same make and model of the non-working one?
Can you post the cfg file for it from the /etc/mrtg/conf.d folder and one of it's rrd file so I can compare it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

I have a couple of more commands for you to run and post the output here.

Code: Select all

find / -name Net_SNMP_util.pm
yum provides */Net_SNMP_util.pm
Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

Hi,

They are the same make but not the same model.


[root@localhost ~]# cpan -l | grep -i rrd
Unknown option: l
Nothing to install!
[root@localhost ~]# cpan -l | grep -i snmp
Unknown option: l
Nothing to install!


[root@localhost ~]# find / -name Net_SNMP_util.pm
/tmp/nagiosxi/subcomponents/mrtg/mrtg-2.17.4/lib/mrtg2/Net_SNMP_util.pm
You do not have the required permissions to view the files attached to this post.
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

Hi,

I have been investigate and i noted that graphs stoped workin at 1 de December 2018, see the attachment image.

This Can help us with troubleshhoting.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Bandwith Graphs show 0/0 in all network hosts.

Post by tgriep »

I would guess some how the MRTG processes was reverted to a different package as the files are not quite lining up correctly.

These steps will install MRTG to the correct version that comes with Nagios XI.

Establish an SSH session to your Nagios XI server and execute the following commands:

Code: Select all

cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi/subcomponents/mrtg/
tar xzf mrtg*.tar.gz
cd mrtg*
./configure --prefix='/usr'
make all
make install
It will take at least 15 minutes for the bandwidth graphs to start showing data so let us know how it works out.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked