Page 1 of 1

After upgrade to XI 5.5.5, Monitoring Engine red

Posted: Fri Jun 07, 2019 9:30 am
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?

Re: After upgrade to XI 5.5.5, Monitoring Engine red

Posted: Fri Jun 07, 2019 9:43 am
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.

Re: After upgrade to XI 5.5.5, Monitoring Engine red

Posted: Fri Jun 07, 2019 9:49 am
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.

Re: After upgrade to XI 5.5.5, Monitoring Engine red

Posted: Fri Jun 07, 2019 10:41 am
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

Re: After upgrade to XI 5.5.5, Monitoring Engine red

Posted: Fri Jun 07, 2019 11:18 am
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!

Re: After upgrade to XI 5.5.5, Monitoring Engine red

Posted: Fri Jun 07, 2019 11:37 am
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.