Unable to start monitoring engine in Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Unable to start monitoring engine in Nagios XI

Post by RIDS_I2MP »

Hi Team,

In our Nagios serer, apply configuration was not working. We stopped Nagios service and tried restarting.
We are unable to start Nagios Monitoring engine.

Please help us on priority.

[root@eu2napu003 var]# service nagios status
Redirecting to /bin/systemctl status nagios.service
● nagios.service - Nagios Core 4.4.5
Loaded: loaded (/usr/lib/systemd/system/nagios.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-04-28 15:54:17 BST; 3min 59s ago
Docs: https://www.nagios.org/documentation
Process: 12621 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=1/FAILURE)

Apr 28 15:54:17 eu2napu003 nagios[12621]: Check your configuration file(s) to ensure that they contain valid
Apr 28 15:54:17 eu2napu003 nagios[12621]: directives and data definitions. If you are upgrading from a previous
Apr 28 15:54:17 eu2napu003 nagios[12621]: version of Nagios, you should be aware that some variables/definitions
Apr 28 15:54:17 eu2napu003 nagios[12621]: may have been removed or modified in this version. Make sure to read
Apr 28 15:54:17 eu2napu003 nagios[12621]: the HTML documentation regarding the config files, as well as the
Apr 28 15:54:17 eu2napu003 nagios[12621]: 'Whats New' section to find out what has changed.
Apr 28 15:54:17 eu2napu003 systemd[1]: nagios.service: control process exited, code=exited status=1
Apr 28 15:54:17 eu2napu003 systemd[1]: Failed to start Nagios Core 4.4.5.
Apr 28 15:54:17 eu2napu003 systemd[1]: Unit nagios.service entered failed state.
Apr 28 15:54:17 eu2napu003 systemd[1]: nagios.service failed.
[root@eu2napu003 var]#



Tried to start the service in other way as well.Getting below error:

[root@eu2napu003 var]# systemctl start nagios.service
Job for nagios.service failed because the control process exited with error code. See "systemctl status nagios.service" and "journalctl -xe" for details.
Thanks & Regards,
I2MP Team.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Unable to start monitoring engine in Nagios XI

Post by benjaminsmith »

Hi,

That looks like you have an error in the current configurations that are preventing the nagios service from starting up. Do you have access to the GUI? If so, follow the steps below to resolve.

1. Go to Configure > Tools > Config File Management
2. Delete Files
3. Write Files
4. Verify Files - If you get an error message, follow the message to correct the settings in the CCM for the particular configuration object and repeat steps 2-4 until the configuration will verify.
5. Restart Nagios Core.

Let us know if you're able to get the service started again.
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!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Unable to start monitoring engine in Nagios XI

Post by RIDS_I2MP »

Thanks for your help!!
Its working fine now.
Thanks & Regards,
I2MP Team.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Unable to start monitoring engine in Nagios XI

Post by benjaminsmith »

Hi @RIDS_I2MP,

Excellent!

We'll go ahead and close out this thread, but feel free to open another if you have any new 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