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.
NagiosXi is in pending status after sometime
-
support.lta
- Posts: 10
- Joined: Mon Jul 03, 2017 9:28 am
NagiosXi is in pending status after sometime
You do not have the required permissions to view the files attached to this post.
-
bolson
Re: NagiosXi is in pending status after sometime
Please run the following commands:
Let me know if this resolves your issue.
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-
support.lta
- Posts: 10
- Joined: Mon Jul 03, 2017 9:28 am
Re: NagiosXi is in pending status after sometime
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,
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,
-
bolson
Re: NagiosXi is in pending status after sometime
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-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NagiosXi is in pending status after sometime
Let's also verify there is only one parent nagios process
Code: Select all
ps -ef|grep bin/nagios