Page 1 of 1

5.5 Nagios XI Update Breaks Monitoring Engine

Posted: Fri Jun 29, 2018 4:17 pm
by jmiles118
Using UI to update fails, so I tried to manually update(followed link here - https://assets.nagios.com/downloads/nag ... ctions.pdf), see error below:

Job for nagios.service failed because the control process exited with error code. See "systemctl status nagios.service" and "journalctl -xe" for details.

# systemctl status nagios.service
● nagios.service - LSB: Starts and stops the Nagios monitoring server
Loaded: loaded (/etc/rc.d/init.d/nagios; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2018-06-29 16:56:47 EDT; 1min 0s ago
Docs: man:systemd-sysv-generator(8)
Process: 21783 ExecStop=/etc/rc.d/init.d/nagios stop (code=exited, status=0/SUCCESS)
Process: 21785 ExecStart=/etc/rc.d/init.d/nagios start (code=exited, status=8)
Main PID: 2566 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/nagios.service

Jun 29 16:56:47 ininddvgp53.internal.das nagios[21785]: ***> One or more problems was encountered while processing the config files...
Jun 29 16:56:47 ininddvgp53.internal.das nagios[21785]: Check your configuration file(s) to ensure that they contain valid
Jun 29 16:56:47 ininddvgp53.internal.das nagios[21785]: directives and data definitions. If you are upgrading from a previous
Jun 29 16:56:47 ininddvgp53.internal.das nagios[21785]: version of Nagios, you should be aware that some variables/definitions
Jun 29 16:56:47 ininddvgp53.internal.das nagios[21785]: may have been removed or modified in this version. Make sure to read
Jun 29 16:56:47 ininddvgp53.internal.das nagios[21785]: the HTML documentation regarding the config files, as well as the
Jun 29 16:56:47 ininddvgp53.internal.das nagios[21785]: 'Whats New' section to find out what has changed.
Jun 29 16:56:47 ininddvgp53.internal.das systemd[1]: Failed to start LSB: Starts and stops the Nagios monitoring server.
Jun 29 16:56:47 ininddvgp53.internal.das systemd[1]: Unit nagios.service entered failed state.
Jun 29 16:56:47 ininddvgp53.internal.das systemd[1]: nagios.service failed.

We have Dev and Prod NagiosXI servers, Dev updated successfully. Issue is on Prod.
Prod OS is CentOS Linux release 7.5.1804 (Core)

Any thoughts or suggestions?

Re: 5.5 Nagios XI Update Breaks Monitoring Engine

Posted: Fri Jun 29, 2018 4:30 pm
by scottwilkerson
First before performing an upgrade make sure you can apply configuration properly.

https://support.nagios.com/kb/article.php?id=144

Re: 5.5 Nagios XI Update Breaks Monitoring Engine

Posted: Mon Jul 02, 2018 8:04 am
by jmiles118
When I navigate to Tools I do not have an option for Write Config Files. Please advise.

Re: 5.5 Nagios XI Update Breaks Monitoring Engine

Posted: Mon Jul 02, 2018 9:06 am
by scottwilkerson
This is Tools Menu on the Left after you Click Configure -> CCM, not on the Top

Re: 5.5 Nagios XI Update Breaks Monitoring Engine

Posted: Mon Jul 02, 2018 9:15 am
by jmiles118
Thanks! I was able to follow the steps outlined with the provided link and have updated NagiosXI to version 5.5.0

Re: 5.5 Nagios XI Update Breaks Monitoring Engine

Posted: Mon Jul 02, 2018 10:38 am
by scottwilkerson
jmiles118 wrote:Thanks! I was able to follow the steps outlined with the provided link and have updated NagiosXI to version 5.5.0
Excellent!

Locking