Page 1 of 1

Monitoring engine is not running !!!

Posted: Wed Sep 12, 2012 3:49 am
by morabanc
Good morning,

Yesterday I decided to desactivate a host, service and his hostgroup.
After this I apply changes but NagiosXI didn't response so our unique choice is reboot service manually "/etc/init.d/nagios restart".

In the same time the root partition goes up because some gzip log files was a little big and I changed the path directory on the scripts "/usr/local/nagiosxi/scripts/backup_xi.sh" and "/root/scripts/automysqlbackup" from "/store/backups/..." to the "/var/backups/...." and also we moved all path files to the new path.

This big files causes inactivity of all services and it puts in "pending" mode.

Today I reboot the machine because appear the "Monitoring engine ...." error and also "pending" mode of all service.

After reboot some services goes "OK" and the "Monitoring engine ....." error dissappear but after 5 min. comes again.


This is a very critical error because it's production.
What solution do you recomend ???

Thanks in advanced :)


PD: I attach a photo of our state in Nagios (critical service, pending service, and machine problem)

Re: Monitoring engine is not running !!!

Posted: Wed Sep 12, 2012 7:44 am
by scottwilkerson
Is the drive full?

Code: Select all

df -h

Re: Monitoring engine is not running !!!

Posted: Wed Sep 12, 2012 11:13 am
by morabanc
Hi scottwilkerson,

No it isn't, the root partition actually it's on 46% use.
PD: The most occuped partition is /var/log on 59% so the disc it's good

Thank for your answer

Re: Monitoring engine is not running !!!

Posted: Wed Sep 12, 2012 2:26 pm
by scottwilkerson
Can you run the following from the command line
ps -ef|grep bin/nagios

Re: Monitoring engine is not running !!!

Posted: Thu Sep 13, 2012 2:04 am
by morabanc
It's running the nagios config file:
- nagios 4528 1 2 Sep12 ? 00:32:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

Yesterday, in the afternoon Nagios recover his state to OK.
Now it seems that all be alright but i would like to know what happened for prevent future problems

Thanks !!!

PD: I execute this command when error appear and "nagios" config file and "ndo2db (nagVis)" file were running too

Re: Monitoring engine is not running !!!

Posted: Thu Sep 13, 2012 10:03 am
by scottwilkerson
Ok.

Where were you seeing the errors?

Was it happening after applying configuration?

Re: Monitoring engine is not running !!!

Posted: Fri Sep 14, 2012 1:31 am
by morabanc
I attach the error were I was seeing on the first message i wrote
And the changes didn't applying only appear this:

---------------------------------------------------------------------------
Applying Configuration

Command submitted for processing...
Waiting for configuration verification................[etc ...]
---------------------------------------------------------------------------

And didn't response the config verification

Re: Monitoring engine is not running !!!

Posted: Fri Sep 14, 2012 7:42 am
by scottwilkerson
You may be hitting a timeout in the php.ini, here is a wiki explaining a fix
http://support.nagios.com/wiki/index.ph ... _Completes