NagiosXi is in pending status after sometime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
support.lta
Posts: 10
Joined: Mon Jul 03, 2017 9:28 am

NagiosXi is in pending status after sometime

Post 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.
You do not have the required permissions to view the files attached to this post.
bolson

Re: NagiosXi is in pending status after sometime

Post 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.
support.lta
Posts: 10
Joined: Mon Jul 03, 2017 9:28 am

Re: NagiosXi is in pending status after sometime

Post 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,
bolson

Re: NagiosXi is in pending status after sometime

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

Post by scottwilkerson »

Let's also verify there is only one parent nagios process

Code: Select all

ps -ef|grep bin/nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked