Page 1 of 1
NagiosXi is in pending status after sometime
Posted: Tue Aug 15, 2017 5:41 am
by support.lta
Hi Support,
We noticed that the nagiosxi after sometime was giving the status pending as seen on the screenshot.
Please advise on how to resolve such issue.
OS: RHEL 7.2
NagiosXI Version: 5.2.9
Thank you very much.
Re: NagiosXi is in pending status after sometime
Posted: Tue Aug 15, 2017 9:57 am
by bolson
Please run the following commands:
Code: Select all
service nagios stop
service mysqld start
mysqlcheck -s -u"root" -p"XXXXXXX" --all-databases 2>&1
rm -f /usr/local/nagios/var/retention.dat
service nigios start
Let me know if this resolves your issue.
Re: NagiosXi is in pending status after sometime
Posted: Tue Aug 22, 2017 4:40 am
by support.lta
Hi Support,
We did the nagios service restart however, the issue keeps recurring after a period.
Will there be any impact of the nagios if the following is executed rm -f /usr/local/nagios/var/retention.dat,
Re: NagiosXi is in pending status after sometime
Posted: Tue Aug 22, 2017 10:37 am
by bolson
Deleting retention.dat won't cause any issues as it will be recreated. The purpose of the file is to save service state information across reboots or restarts of the nagios service. You could simple rename the file rather than removing it:
Code: Select all
mv /usr/local/nagios/var/retention.dat /usr/local/nagios/var/retention.dat.bak
Re: NagiosXi is in pending status after sometime
Posted: Tue Aug 22, 2017 10:39 am
by scottwilkerson
Let's also verify there is only one parent nagios process