After upgrade to XI 5.5.5, Monitoring Engine red

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
DFaught
Posts: 62
Joined: Tue Sep 26, 2017 12:50 pm

After upgrade to XI 5.5.5, Monitoring Engine red

Post by DFaught »

This Nagios XI server was successfully upgraded from V5.4.1 to V5.5.5. After the upgrade, the Monitoring Engine, Performance Grapher, and Database Backend are all red in the XI System Component Status dashlet on the Admin -> System Status page.

From an SSH session command line, "systemctl status" commands show that nagios and ndo2db are both active.

We have done a reboot, and also tried this sequence of commands with no ending change in status:
This would be a good list of commands to run on XI server when the monitoring engine is down:
service crond stop
service npcd stop
service nagios stop
service ndo2db stop
pkill -9 -u nagios
for i in $(ipcs -q | grep nagios |awk '{print $2}'); do ipcrm -q $i; done
rm -rf /usr/local/nagiosxi/var/dbmaint.lock
rm -rf /usr/local/nagiosxi/var/event_handler.lock
rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
service mysqld restart
service ndo2db start
service nagios start
service npcd start
service crond start

What is next?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: After upgrade to XI 5.5.5, Monitoring Engine red

Post by benjaminsmith »

Hi @DFaught,

Are you able to generate a system profile? If so, can you send me your profile in a private message for us to review?

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.

Thanks.
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!
DFaught
Posts: 62
Joined: Tue Sep 26, 2017 12:50 pm

Re: After upgrade to XI 5.5.5, Monitoring Engine red

Post by DFaught »

Of course, I should have done that already. But when I try to download the System Profile, I get this instead:
-----
PROFILE BUILD FAILED
Array
(
)
CODE: 1
-----
Probably not a good thing. However it does let me view it so I copied that into a text file and attached here.
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: After upgrade to XI 5.5.5, Monitoring Engine red

Post by benjaminsmith »

Hi @DFaught,

That error message is typically caused by an incorrect sudoers file. Please follow the steps in the following guide to reset the sudoers file, and let me know if you're able to generate a system profile.

Nagios XI - Profile Build Failed
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!
DFaught
Posts: 62
Joined: Tue Sep 26, 2017 12:50 pm

Re: After upgrade to XI 5.5.5, Monitoring Engine red

Post by DFaught »

When our server platform person did this, it seems to have fixed the basic problem too. I have uploaded the profile just as a double check.
The System Status screen is all green now.

Thank you!
Last edited by benjaminsmith on Fri Jun 07, 2019 11:20 am, edited 1 time in total.
Reason: saved profile
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: After upgrade to XI 5.5.5, Monitoring Engine red

Post by benjaminsmith »

Hi @Dfaught,

Looking through the system profile, I noticed the system time settings have not been correctly set.
PHP Timezone: Not set
PHP Time: Fri, 07 Jun 2019 16:15:21 +0000
System Time: Fri, 07 Jun 2019 12:15:21 -0400
This can cause quite of few issues, so you'll want to get that set right away. We have a very detailed guide to setting up system time, PHP time and the Nagios XI timezone configuration ( they all need to be in sync) in the link below.

Changing The System Time

Let me know if you have any questions.
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