Nagios XI 5.7.2 - Event Queue Empty & Services Behaving Abno

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

Nagios XI 5.7.2 - Event Queue Empty & Services Behaving Abno

Post by bsanjay »

Hello Team,
We have recently upgraded to Nagios XI 5.7.2 and after the upgrade we can see empty event queues (ipcs -q) and services behaving abnormally.
For example services (nagios/npcd) in backend CLI is running but are showing down in GUI (monitoring Engine/Performance Grapher). Please find the screenshot & system profile attached privately for your reference,

Best Regards,
BSanjay
You do not have the required permissions to view the files attached to this post.
bsanjay
Posts: 86
Joined: Mon Apr 29, 2019 9:38 am

Re: Nagios XI 5.7.2 - Event Queue Empty & Services Behaving

Post by bsanjay »

Even though nagios service is running in background, we are seeing this error message in availability reports. Please find screenshots for your reference,
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI 5.7.2 - Event Queue Empty & Services Behaving

Post by benjaminsmith »

Hi @bsanjay,

That's odd. Do you see check results updating as expected in the user interface? What happens you force and immediate check, does it update the status of the host or service. Try re-starting Nagios and all of its services using the commands below (Cent / RHEL 7):

Code: Select all

systemctl stop npcd
systemctl stop nagios
systemctl stop crond
pkill -9 -u nagios
systemctl restart mariadb
rm -f /usr/local/nagios/var/rw/nagios.cmd
rm -f /usr/local/nagios/var/nagios.lock
rm -f /var/run/nagios.lock
rm -f /usr/local/nagios/var/ndo.sock
rm -f /usr/local/nagiosxi/var/*.lock
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
systemctl restart httpd
systemctl start nagios
systemctl start npcd
systemctl start crond
If the issue persists, please send me a fresh system profile to further troubleshoot. Thanks, Benjamin

To send us your 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 share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Nagios XI 5.7.2 - Event Queue Empty & Services Behaving

Post by WillemDH »

Hello,

We also tried to update Nagios XI from 5.6.14 to 5.7.2 which failed. The message queue was stuck at zero. SELinux is disabled.. My colleague Peter will create a support ticket with a system profile. In the meantime we restored a vm snapshot from before the update.

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
PeterDK
Posts: 25
Joined: Tue Jun 05, 2018 9:19 am

Re: Nagios XI 5.7.2 - Event Queue Empty & Services Behaving

Post by PeterDK »

Hi,

we are having the same issue when upgrading from 5.6.14 -> 5.7.2
At first our message queue was stuck at 88000, but after a reboot is was empty.
The Nagios environment seems to be fine, but nothing is happening.

I also saw pending check from 1970 (see attachment)

Kind regards,
Peter
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI 5.7.2 - Event Queue Empty & Services Behaving

Post by benjaminsmith »

Hi Peter,


Sorry to hear you're having issues with the upgrade. Can you open a separate support ticket or forum thread for your issue and share your system profile so we can review the logs and troubleshoot this for you?

Thanks,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
nickap
Posts: 26
Joined: Wed Jun 26, 2019 9:43 am

Re: Nagios XI 5.7.2 - Event Queue Empty & Services Behaving

Post by nickap »

We've had similar issues and have had a support ticket open for over 2 months with no resolution.

The 5.7 upgrade has been frustrating and disappointing. We're still running 5.6.14 because we cannot successfully upgrade without the Nagios monitoring engine crashing or failing to check properly.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagios XI 5.7.2 - Event Queue Empty & Services Behaving

Post by benjaminsmith »

HI @nickap,

Sorry to hear you've had a poor experience with the 5.7 upgrade. As you may know, we completely re-wrote the backend database component for improved performance and scalability. We are working to resolve these issues that have impacted some customers, and we should have another maintenance release out soon.

One benefit of the Nagios XI license is that it allows for 3 installs, production, test, and backup. We do our best to QA new releases but every environment is unique, so testing upgrades out on the test server is highly recommended for a smooth transition between major changes.

For now, I would recommend either staying in 5.6.14 until 5.7.3 is released or downgrading to the previous version of ndo (backend database application).

Lastly, this thread has gotten off-topic as far as addressing @bsanjay's support issue. If you're still having issues, please open a support ticket at:

https://support.nagios.com/tickets/

and we'll help you get this taken care of.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked