Page 1 of 1
Flat graphs with no data
Posted: Fri Oct 09, 2020 5:14 am
by oss_opl
Nagios XI 5.4.12
Hi!
We have problem with Nagios 5.4.12 - After stop data collection we get flat graphs (attachment).
Can you explain why Nagios "rounding" for period where there was no fresh data?
Re: Flat graphs with no data
Posted: Fri Oct 09, 2020 2:50 pm
by tgriep
When the Nagios XI server gets loaded it will stop graphing performance data to keep it running smoothly for it's checks.
Those settings can be edited to keep that from happening. To do this edit this file
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfg
find the Timeout setting and change it to the following or to a higher value if it is already set that way.
Save the file
then edit this file
Code: Select all
/usr/local/nagios/etc/pnp/npcd.cfg
find the load_threshold setting and change it to the following or to a higher value if it is already set that way.
Save out the file and restart these services by running
Code: Select all
service npcd restart
service nagios restart
That should keep the graphing function from stopping on the server when it is loaded.
Re: Flat graphs with no data
Posted: Fri Nov 06, 2020 9:02 am
by oss_opl
Hi!
We know, that we gets loaded in this period of time, but we have to consider why (for what reason) we get flat lines instead of "no data", while NagiosXI get overloaded. Can you explain that?
Re: Flat graphs with no data
Posted: Fri Nov 06, 2020 10:12 am
by tgriep
When the system is loaded, it will not process performance data and it will not store the data while if it loaded to back fill in the data so when the systems load drops and the graph start up again, it back fills the missing data from the last point received to the current point received, which is a flat line.