Monitoring engine is not running !!!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
morabanc
Posts: 199
Joined: Tue Jul 10, 2012 8:14 am

Monitoring engine is not running !!!

Post 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)
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring engine is not running !!!

Post by scottwilkerson »

Is the drive full?

Code: Select all

df -h
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
morabanc
Posts: 199
Joined: Tue Jul 10, 2012 8:14 am

Re: Monitoring engine is not running !!!

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring engine is not running !!!

Post by scottwilkerson »

Can you run the following from the command line
ps -ef|grep bin/nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
morabanc
Posts: 199
Joined: Tue Jul 10, 2012 8:14 am

Re: Monitoring engine is not running !!!

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring engine is not running !!!

Post by scottwilkerson »

Ok.

Where were you seeing the errors?

Was it happening after applying configuration?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
morabanc
Posts: 199
Joined: Tue Jul 10, 2012 8:14 am

Re: Monitoring engine is not running !!!

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring engine is not running !!!

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked