Page 1 of 3

port bandwidth monitors - OK - Current BW in: 0Kbps Out: 0Kb

Posted: Thu Jun 05, 2014 4:53 pm
by nealg
Just upgraded to NAGIOS XI 2014R1.1 and noticed most of my port bandwidth monitors status information are showing 0 in and out data values like so "OK - Current BW in: 0Kbps Out: 0Kbps". Issue is intermittent and at times I will see values for the status but then it goes back to 0.

Any help would be greatly appreciated.

Re: port bandwidth monitors - OK - Current BW in: 0Kbps Out:

Posted: Thu Jun 05, 2014 4:54 pm
by tmcdonald
If you click the service name and go to the Advanced tab, is there any perfdata shown?

Re: port bandwidth monitors - OK - Current BW in: 0Kbps Out:

Posted: Fri Jun 06, 2014 12:40 pm
by nealg
Performance Data: in=0Mb/s;400;500 out=0Mb/s;400;500

Re: port bandwidth monitors - OK - Current BW in: 0Kbps Out:

Posted: Fri Jun 06, 2014 12:49 pm
by nealg
Here's a visual of what i'm seeing.

Re: port bandwidth monitors - OK - Current BW in: 0Kbps Out:

Posted: Fri Jun 06, 2014 1:12 pm
by nealg
I was looking at my Internet switch which is always really busy. One minute I'm seeing perf data and the next minute I'm seeing 0's. I then went to look at the performance graph and noticed it too is showing 0 data for certain time periods and other times it is showing data.

Re: port bandwidth monitors - OK - Current BW in: 0Kbps Out:

Posted: Fri Jun 06, 2014 2:06 pm
by abrist
Just to make sure there are not lapses in usage. Play a few youtube videos, or transfer a large file over the connection in question. Now manually schedule bandwidth checks. It may take up to 5 minutes for each check to process and appear in the graphs.

Also, check to make sure perfdata is processing correctly:

Code: Select all

tail -25 /usr/local/nagios/var/perfdata.log
tail -25 /usr/local/nagios/var/npcd.log

Re: port bandwidth monitors - OK - Current BW in: 0Kbps Out:

Posted: Fri Jun 06, 2014 5:18 pm
by nealg
This device sw-internet-01 is the Internet switch for a City of approximately 250,000 Citizens & 2,000 employee's so it is always busy. We should never see the utilization on this 200mbps connection going to our ISP at a rate of 0 in / 0 out.

This issue is happening on all of our bandwidth monitors for routers & switches which is a total of 138 devices. Issue is intermittent & every once in a while I do see perfdata returned.

Also I looked at the logs you had mentioned and I don't see anything that stands out.

Re: port bandwidth monitors - OK - Current BW in: 0Kbps Out:

Posted: Mon Jun 09, 2014 9:10 am
by tmcdonald
You wouldn't happen to have your system language set to something other than English would you? I have been dealing with some issues recently relating to the use of the command and the period in numerical values, and I'm seeing the same symptoms here. Try running the following:

Code: Select all

locale
If it does not show

Code: Select all

LANG="en_US.utf-8"
You may need to update

Code: Select all

/etc/sysconfig/i18n
with

Code: Select all

LANG="en_US.UTF-8"

Re: port bandwidth monitors - OK - Current BW in: 0Kbps Out:

Posted: Mon Jun 09, 2014 11:04 am
by nealg
Looks like this was set correctly. Here is the output:

[root@vm1lxa06 sysconfig]# locale
LANG=en_US.UTF-8

Re: port bandwidth monitors - OK - Current BW in: 0Kbps Out:

Posted: Mon Jun 09, 2014 2:14 pm
by lmiltchev
Do you get any output after running the following command?

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg