Nagios XI Graphs - not graphing over longer timperiods

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
weapon
Posts: 16
Joined: Sun Apr 06, 2014 8:00 pm

Nagios XI Graphs - not graphing over longer timperiods

Post by weapon »

Hi,

I have a problem with one of my graphs, in that it will show a graph for a 4 hour time period, but not a 24 hour or longer time period. The graph in question is a fairly new check (the performance data was wiped yesterday), but there is a large number (~200) of lines of performance data associated with this check, and I'm not sure if I am overloading the graphing widget.
I have attempted to look at the nagios and nagios XI logs, but have not found anything relevant. Can someone point me in the right direction to find out what the underlying problem is?

(We are running Nagios version 2014R2.7, yes we need to upgrade)
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios XI Graphs - not graphing over longer timperiods

Post by avandemore »

Is the data collected via NRPE?

And yes you really should upgrade for many reasons including security ones. If you're going to do it soon, I would let this issue lie until after that is complete.
Previous Nagios employee
weapon
Posts: 16
Joined: Sun Apr 06, 2014 8:00 pm

Re: Nagios XI Graphs - not graphing over longer timperiods

Post by weapon »

No we are using the below plugin:
https://exchange.nagios.org/directory/P ... th/details
On a large cisco switch, it might be pulling the traffic data for 50 interfaces in both directions.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Nagios XI Graphs - not graphing over longer timperiods

Post by avandemore »

If you run the check from the command line against one of the large servers, is any of the data truncated?
Previous Nagios employee
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI Graphs - not graphing over longer timperiods

Post by dwhitfield »

additionally, you can look at /usr/local/nagios/var/perfdata.log

Unfortunately, for your case:
This file is related to performance data does not log by default.
But the fix is simple
You can enable logging in /usr/local/nagios/etc/pnp/process-perfdata.pl
with "LOG_LEVEL = 1". This log will contain any timeout errors for perfdata processing and generally will include any errors with
datasources and rrds.
weapon
Posts: 16
Joined: Sun Apr 06, 2014 8:00 pm

Re: Nagios XI Graphs - not graphing over longer timperiods

Post by weapon »

It can't be a problem with logging the data as the 4hour graph works fine. I'm trying to work out what part generates the graphs and if it has an error message or time-out going on.

Will that log also include logging of errors reading the performance data
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Graphs - not graphing over longer timperiods

Post by rkennedy »

What type of graphing method do you have selected? (Admin -> System Settings -> Theme & Display -> What is set under the 'Display Settings' section?) Also, what version of XI are you using?

In the past, I've seen this due to incorrect data being placed at datapoints. (I believe it was 0.) Can you view the source of the frame which contains your graph, and post the HTML for us to look at? This should have the dataset contained in it.
Former Nagios Employee
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI Graphs - not graphing over longer timperiods

Post by dwhitfield »

In addition to what @rkennedy said, do you have cron or something else cleaning up the data frequently?

Also, it's not clear to me that you answered @avandemore's question from the 21st about the data being truncated.
Locked