Bandwidth Graph Reports No Traffic

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sfudali
Posts: 17
Joined: Mon Nov 04, 2013 9:56 pm

Bandwidth Graph Reports No Traffic

Post by sfudali »

I have created a bandwidth graph for a host that I monitor, however the graph is always reporting 0 Mbps in and out while I know there is traffic on the port as I can see it in a Cacti graph of the same interface. The only difference between this graph and another functional bandwidth graph is that this one was created manually as opposed to the other which was created when the host was first added via the wizard. Perhaps a step was missed when the graph was manually created?

Both are using the xiwizard_switch_port_bandwidth_service template and the check_xi_service_mrtgtraf check command with the only difference in the arguments being the name of the RRD graph in Arg1. Any guidance/suggestions would be appreciated.

Running the following:
Nagios XI v5.3.1
CentOS release 6.4
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Bandwidth Graph Reports No Traffic

Post by rkennedy »

Could you show us the service definition?

I believe the wizard will create the MRTG file, so that a RRD file gets created, and for us to poll. Did you do this manually?
Former Nagios Employee
sfudali
Posts: 17
Joined: Mon Nov 04, 2013 9:56 pm

Re: Bandwidth Graph Reports No Traffic

Post by sfudali »

What would you like to see from the service definition? I'm happy to post a screen grab of it or something. I tried to do a find -name "rrdfile" from the CLI but it doesn't return any results. It also doesn't for the graph that works either...am I using the wrong search command to make sure the file actually got created? Where would the RRD file get stored?
sfudali
Posts: 17
Joined: Mon Nov 04, 2013 9:56 pm

Re: Bandwidth Graph Reports No Traffic

Post by sfudali »

I'm attaching a screenshot of the configuration for the service. If you want to see something different, just let me know. If I attempt to do a find -name "<name of the rrd file>" from within the CLI, I don't get any results...but I also don't get anything when I do it for a graph that is working, so maybe that command isn't valid in the CentOS.
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Bandwidth Graph Reports No Traffic

Post by dwhitfield »

I kinda doubt anything in https://support.nagios.com/kb/article.php?id=9 is the problem, since you have working graphs, but if you could through that document just to rule out common issues, that would be great. Thanks!
sfudali
Posts: 17
Joined: Mon Nov 04, 2013 9:56 pm

Re: Bandwidth Graph Reports No Traffic

Post by sfudali »

I had already stumbled across that KB when I was first researching my problem. The spooled files results come back very low (0 or 1 usually). User account is fine, not expired or anything. I can alter the verbosity for the log files for a cycle if you would like me to and post the results?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Bandwidth Graph Reports No Traffic

Post by dwhitfield »

sfudali wrote:I can alter the verbosity for the log files for a cycle if you would like me to and post the results?
Yes. Let's do that. Thanks!
sfudali
Posts: 17
Joined: Mon Nov 04, 2013 9:56 pm

Re: Bandwidth Graph Reports No Traffic

Post by sfudali »

I changed both the npcd and perdata logging and didn't see any errors, time outs, or anything that looked unusual. I also confirmed that the RRD file in question is actually there.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Bandwidth Graph Reports No Traffic

Post by avandemore »

XI > Admin > System Profile > Download Profile

Please include the zip file in your response. You can PM myself or other support personnel for privacy if you like.
Previous Nagios employee
sfudali
Posts: 17
Joined: Mon Nov 04, 2013 9:56 pm

Re: Bandwidth Graph Reports No Traffic

Post by sfudali »

I just PM'd you the zip of our profile.
Locked