No Activity in Monitoring Engine Event Queue After Reboot

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mcwhorts
Posts: 60
Joined: Fri Oct 07, 2011 11:59 am

No Activity in Monitoring Engine Event Queue After Reboot

Post by mcwhorts »

Linux Distribution and version?
CentOS release 6.9 (Final)
32 or 64bit?
64bit
VMware Image or Manual Install of XI?
Manual Install

So we recently did some OS patching. I've attached a list of those patches. After the patch, the VM was rebooted. Everything seemed fine till we discovered the next day that there was no activity in Nagios. The event log showed no activity after the reboot as well as the monitoring engine event queue. I could use a hand troubleshooting this. Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: No Activity in Monitoring Engine Event Queue After Reboo

Post by tacolover101 »

what happens if you run service nagios start? any error returned?
mcwhorts
Posts: 60
Joined: Fri Oct 07, 2011 11:59 am

Re: No Activity in Monitoring Engine Event Queue After Reboo

Post by mcwhorts »

when I run service nagios start, I get the following

Running configuration check...

Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Error in configuration file '/etc/nagios/nagios.cfg' - Line 309 (UNKNOWN VARIABLE)
Error processing main config file!

So I look to see what it's referencing on line 309 of /etc/nagios/nagios.cfg which is this

log_current_states=1

If I comment that out and try service nagios start it seems to work.

sudo service nagios restart
Running configuration check...
Stopping nagios: done.
Starting nagios: done.
mcwhorts
Posts: 60
Joined: Fri Oct 07, 2011 11:59 am

Re: No Activity in Monitoring Engine Event Queue After Reboo

Post by mcwhorts »

I forgot to mention that the problem with the monitoring engine still persists.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No Activity in Monitoring Engine Event Queue After Reboo

Post by scottwilkerson »

mcwhorts wrote:Running configuration check...

Nagios Core 3.5.1
This is not the correct version of nagios for a 5.4.10 nagios XI installation, my guess is you install nagios core from RPM, run this to check

Code: Select all

rpm -q nagios
if you get something as a result we need to remove this package

Code: Select all

yum remove nagios
Then you will need to run the following to install the correct version

Code: Select all

cd /tmp
rm -rf nagiosxi xi* /etc/init.d/nagios
wget https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi*.tar.gz
cd /tmp/nagiosxi/subcomponents/nagioscore/
./install
Once this completes, lets try starting nagios

Code: Select all

service nagios start
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
mcwhorts
Posts: 60
Joined: Fri Oct 07, 2011 11:59 am

Re: No Activity in Monitoring Engine Event Queue After Reboo

Post by mcwhorts »

Installing the correct version of nagios core fixed the problem. Thanks for your help.
kyang

Re: No Activity in Monitoring Engine Event Queue After Reboo

Post by kyang »

Glad that you got this resolved with installing the new version of Nagios Core!

Is it ok to close to thread?
Locked