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)
Nagios XI Graphs - not graphing over longer timperiods
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Nagios XI Graphs - not graphing over longer timperiods
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.
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
Re: Nagios XI Graphs - not graphing over longer timperiods
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.
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
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
additionally, you can look at /usr/local/nagios/var/perfdata.log
Unfortunately, for your case:
Unfortunately, for your case:
But the fix is simpleThis file is related to performance data does not log by default.
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.
Re: Nagios XI Graphs - not graphing over longer timperiods
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
Will that log also include logging of errors reading the performance data
Re: Nagios XI Graphs - not graphing over longer timperiods
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.
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
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.
Also, it's not clear to me that you answered @avandemore's question from the 21st about the data being truncated.