Flat graphs with no data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
oss_opl
Posts: 7
Joined: Wed Nov 08, 2017 4:33 am

Flat graphs with no data

Post 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?
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Flat graphs with no data

Post 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.

Code: Select all

TIMEOUT = 30
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.

Code: Select all

load_threshold = 50.0
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
oss_opl
Posts: 7
Joined: Wed Nov 08, 2017 4:33 am

Re: Flat graphs with no data

Post 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?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Flat graphs with no data

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked