Page 1 of 2

performance HOST graphs not updated

Posted: Wed Feb 20, 2019 10:32 am
by talalmog
hi,
performance HOST graphs not updated.
i saw that if i delete the file:
/usr/local/nagios/share/perfdata/serverName/_HOST_.rrd
it created again and the graph start running...
i dont want to delete it from all servers because i'll lose the history, is there any thing i can do?

i followed this URL:
https://support.nagios.com/kb/article.php?id=149
i had a problem to install "perl-RRD-Simple" but i tried to run the script without it.

it didnt solve the problem, on the log i didnt see "_HOST_.rrd" fixed

anything else i can do?
thanks

Re: performance HOST graphs not updated

Posted: Wed Feb 20, 2019 11:16 am
by benjaminsmith
Hello @talamog,

Please run the following and post the output to see to check the spool directory to see if the files are not getting processed.

Code: Select all

ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
Next verify that your Nagios user account is not expired:

Code: Select all

chage -l nagios
Reference:
Nagios XI - Performance Graph Problems

Re: performance HOST graphs not updated

Posted: Thu Feb 21, 2019 7:06 am
by talalmog
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
62

ls /usr/local/nagios/var/spool/xidpe/ | wc -l
0

Account expires : never

Re: performance HOST graphs not updated

Posted: Thu Feb 21, 2019 5:47 pm
by benjaminsmith
Hi @talamog,

Thanks for posting that, it looks ok. Would you be able to send me your system profile in a PM ( private message ) for us to review.

To Send Over a System Profile:

Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. You can share a link with me in a personal message.

Re: performance HOST graphs not updated

Posted: Sun Feb 24, 2019 3:41 am
by talalmog
thank you
will do it today

Re: performance HOST graphs not updated

Posted: Mon Feb 25, 2019 5:37 am
by talalmog
in general,
is Centos 7.5 supported by Nagios XI?
im using Centos 7.2 but i like to run some tests to Centos7.5 (we had some problems with it and we moved back to 7.2)
i like to try again....

Re: performance HOST graphs not updated

Posted: Mon Feb 25, 2019 11:46 am
by benjaminsmith
Hi @Talamog,

There's a timeout error in the performance data log.
2019-02-24 07:00:55 [13811] [0] *** TIMEOUT: Timeout after 5 secs. ***
2019-02-24 07:00:55 [13811] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
Please open up /usr/local/nagios/etc/pnp/process_perfdata.cfg and change TIMEOUT = 5 to TIMEOUT = 20.

Let me know that takes care of the issue for you.

Re: performance HOST graphs not updated

Posted: Tue Feb 26, 2019 6:53 am
by talalmog
thank you, will do it

Re: performance HOST graphs not updated

Posted: Tue Feb 26, 2019 12:01 pm
by benjaminsmith
Hi @talamog,
thank you, will do it
Sounds good. I will wait for an update.

Re: performance HOST graphs not updated

Posted: Thu Feb 28, 2019 6:21 am
by talalmog
hi,
im not sure it resolve the problem.
under this log:
/usr/local/nagios/var/npcd.log

we see many WARN like:
NPCD: WARN: MAX load reached: load 22.390000/20.000000 at i=0

tal