Page 1 of 3

Graphing Wierdness

Posted: Wed Dec 30, 2015 10:27 am
by weveland
So I've got this strange issue. I've used the wizard to poll SNMP from two of my directory servers. However when the data is graphed they appear to be formatted completely differently. One is doing an incremental total graph and the other is doing a delta graph. I didn't modify anything specific and they're using the same service check. Any idea why this would be?

Using NagiosXI 2014 R2.7 on CentOS6

*edit- Added information

Re: Graphing Wierdness

Posted: Wed Dec 30, 2015 11:34 am
by rkennedy
Can you post a screenshot of what you're seeing for both graphs?

Re: Graphing Wierdness

Posted: Wed Dec 30, 2015 11:40 am
by weveland
Absolutely.
server1-graph.jpg
server2-graph.jpg

Re: Graphing Wierdness

Posted: Wed Dec 30, 2015 11:55 am
by Box293
Can you go into CCM > Monitoring > Services
For each of these services, click the disk icon
Paste the service definition here of each service.

Also, when viewing the service graphs, the next tab is the Advanced tab
Can you show us a screenshot of the Advanced tab for both services please.

Re: Graphing Wierdness

Posted: Wed Dec 30, 2015 12:14 pm
by weveland
Here you go. The configs will be in the following post.

server1-advanced.jpg
server1-advanced.jpg

Re: Graphing Wierdness

Posted: Wed Dec 30, 2015 12:16 pm
by weveland
Here are the configs.
server1.cfg
server1.cfg

Re: Graphing Wierdness

Posted: Wed Dec 30, 2015 12:23 pm
by Box293
This is an extremely strange issue.

I suspect for the one that is showing the delta rrd graph, the rrd or xml file is causing the issue.

These files are located in:
/usr/local/nagios/share/perfdata/YYYYYYY

They will be called:
Directory_Server_Aggregate_Errors.rrd
Directory_Server_Aggregate_Errors.xml


I would start off deleting the .xml file.
Then go force an immediate check of the service
Once that completes, go and reload the graph page. It might be broken for a minute or two.
Once the graph appears, does the graph appear as an incremental?

If that doesn't fix the problem then I would delete both the .rrd and .xml files.
You'll then need to wait about an hour to see if the problem is resolved.

Re: Graphing Wierdness

Posted: Wed Dec 30, 2015 12:29 pm
by weveland
The delta graph is the one I actually want. Well sort of, having averaged values isn't useful. But having integer based delta would work much better. But still it's better than the overall count graph.

Re: Graphing Wierdness

Posted: Wed Dec 30, 2015 12:33 pm
by Box293
Does the same behavior occur if you view the rrd files through Graph Explorer?

Home screen > Graphs > Graph Explorer
Scalable Performance Graph tab

Re: Graphing Wierdness

Posted: Wed Dec 30, 2015 12:39 pm
by weveland
Yes.