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

Bandwith Graphs show 0/0 in all network hosts.

Post by psasines »

Hello,

I've added some hosts, using Wizard "Network Switch / Router" on NAgios XI, version 2.17.4.
Nagios language is Eng.

The ping and status graphs are working properly however the bandwith graphics do not. They always display values 0/0.

Can you help me please?

Thank you.
bolson

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

Post by bolson »

Hello psasines,

The version number you have given does not seem to be correct. If you're running version 5.5.7 or 5.5.8. Running the following commands from terminal of your Nagios XI host will resolve your issue:

Code: Select all

chown "apache:nagios" /etc/mrtg -R
chmod 775 /etc/mrtg -R
chown "apache:nagios" /var/lib/mrtg -R
chmod 775 /var/lib/mrtg -R
Let us know if this resolves your issue. Thank you!
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,

Thank you for your reply.

After run the commands, the HP equipments(SNMP V2) start showing infomation, but de Cisco Equipments do not(SNMP V3).

Can you help?

Thank you
bolson

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

Post by bolson »

Hello psasines,

Does the Cisco equipment send any information at all to your Nagios Server? If so, can you tell me what data is being returned and what data isn not? Thank you.
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,

At this moment in cisco equipments the ping and status graphs are working properly however the bandwith graphics do not.

Thank you.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post by ssax »

Please follow this guide for debugging:

Code: Select all

https://support.nagios.com/kb/article/nagios-xi-debugging-bandwidth-performance-graphs-29.html
Please PM one of us a copy of your profile as well and let us know the name of the Host you are having issues with so that we can look at your logs/configs. You can download your profile from Admin > System Profile, then click the Download Profile button.

Thank you
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

After doing the troubleshooting I get the expected values, except for the errors that I send in the attachment (File Errors).

The other attachment is what you asked for.

I have this problem on all cisco equipment, eg:

SCT-DWIFI02-DC01
SCT-VMWARE-DC02
SCT-BACKUPIT-DC01
SCT-DLANIT-DC01

Thank you
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post by ssax »

Please run this command and send me the entire output:

Code: Select all

time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Additionally, please run the commands from the PM I sent you and let me know the results.
psasines
Posts: 43
Joined: Wed Nov 21, 2018 5:19 am

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

Post by psasines »

[root@localhost ~]# time LANC=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
-----------------------------------------------------------------------
ERROR: Mrtg will most likely not work properly when the environment
variable LANG is set to UTF-8. Please run mrtg in an environment
where this is not the case. Try the following command to start:

env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
-----------------------------------------------------------------------

real 0m0.008s
user 0m0.002s
sys 0m0.005s
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 »

You had a typo in the command, you put in LANC in place of LANG.

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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked