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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nealg
Posts: 23
Joined: Wed Aug 17, 2011 11:11 am

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

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

If you click the service name and go to the Advanced tab, is there any perfdata shown?
Former Nagios employee
nealg
Posts: 23
Joined: Wed Aug 17, 2011 11:11 am

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

Post by nealg »

Performance Data: in=0Mb/s;400;500 out=0Mb/s;400;500
nealg
Posts: 23
Joined: Wed Aug 17, 2011 11:11 am

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

Post by nealg »

Here's a visual of what i'm seeing.
You do not have the required permissions to view the files attached to this post.
nealg
Posts: 23
Joined: Wed Aug 17, 2011 11:11 am

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

Post 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.
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

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

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
nealg
Posts: 23
Joined: Wed Aug 17, 2011 11:11 am

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

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post 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"
Former Nagios employee
nealg
Posts: 23
Joined: Wed Aug 17, 2011 11:11 am

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

Post by nealg »

Looks like this was set correctly. Here is the output:

[root@vm1lxa06 sysconfig]# locale
LANG=en_US.UTF-8
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

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