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
Nagios xi 5.7.2 - Event Queue Empty & Services Behaving Abno
-
- Posts: 86
- Joined: Mon Apr 29, 2019 9:38 am
Nagios xi 5.7.2 - Event Queue Empty & Services Behaving Abno
You do not have the required permissions to view the files attached to this post.
-
- Posts: 86
- Joined: Mon Apr 29, 2019 9:38 am
Re: Nagios xi 5.7.2 - Event Queue Empty & Services Behaving
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.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios xi 5.7.2 - Event Queue Empty & Services Behaving
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):
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.
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
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 2320
- Joined: Wed Mar 20, 2013 5:49 am
- Location: Ghent
Re: Nagios xi 5.7.2 - Event Queue Empty & Services Behaving
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
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
https://outsideit.net
-
- Posts: 25
- Joined: Tue Jun 05, 2018 9:19 am
Re: Nagios xi 5.7.2 - Event Queue Empty & Services Behaving
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
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.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios xi 5.7.2 - Event Queue Empty & Services Behaving
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
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 26
- Joined: Wed Jun 26, 2019 9:43 am
Re: Nagios xi 5.7.2 - Event Queue Empty & Services Behaving
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.
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.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios xi 5.7.2 - Event Queue Empty & Services Behaving
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.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!