Page 1 of 1

Troubles with enabling service History

Posted: Wed Oct 31, 2018 3:08 pm
by dlukinski
Hello XI Support

We've installed new Nagios XI to replace the existing DEV server.
It works ok but shows no data to display.

I went over the older case - https://support.nagios.com/forum/viewto ... h&start=10
and could not find why the history of the URL checks is not kept.

Please help

Re: Troubles with enabling service History

Posted: Wed Oct 31, 2018 3:55 pm
by npolovenko
Hello, @dlukinski. Are all the other graphs working ok on the new XI server? Chances are if you delete the URL service's RRD and XML files from the
/usr/local/nagios/share/perfdata/
nagios will recreate these files and graphs will start working after 15 minutes.
I also recommend deleting all spooled files from the following direcotry:
/usr/local/nagios/var/spool/perfdata/
Then run:
service npcd restart
Full disclosure: this procedure will delete the existing historic data for the URL service.


You can also enable debugging in /usr/local/nagios/etc/pnp/process-perfdata.pl by changing "LOG_LEVEL = 1".
Then run service npcd restart, wait 15 minutes and send the /usr/local/nagios/var/perfdata.log file.

Re: Troubles with enabling service History

Posted: Wed Oct 31, 2018 8:55 pm
by dlukinski
npolovenko wrote:Hello, @dlukinski. Are all the other graphs working ok on the new XI server? Chances are if you delete the URL service's RRD and XML files from the
/usr/local/nagios/share/perfdata/
nagios will recreate these files and graphs will start working after 15 minutes.
I also recommend deleting all spooled files from the following direcotry:
/usr/local/nagios/var/spool/perfdata/
Then run:
service npcd restart
Full disclosure: this procedure will delete the existing historic data for the URL service.


You can also enable debugging in /usr/local/nagios/etc/pnp/process-perfdata.pl by changing "LOG_LEVEL = 1".
Then run service npcd restart, wait 15 minutes and send the /usr/local/nagios/var/perfdata.log file.
This worked, thank you

Please close the case