Page 1 of 1
No Activity in Monitoring Engine Event Queue After Reboot
Posted: Fri Sep 22, 2017 9:22 pm
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
Re: No Activity in Monitoring Engine Event Queue After Reboo
Posted: Sat Sep 23, 2017 9:06 am
by tacolover101
what happens if you run service nagios start? any error returned?
Re: No Activity in Monitoring Engine Event Queue After Reboo
Posted: Sat Sep 23, 2017 4:01 pm
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.
Re: No Activity in Monitoring Engine Event Queue After Reboo
Posted: Sat Sep 23, 2017 4:02 pm
by mcwhorts
I forgot to mention that the problem with the monitoring engine still persists.
Re: No Activity in Monitoring Engine Event Queue After Reboo
Posted: Mon Sep 25, 2017 10:28 am
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
if you get something as a result we need to remove this package
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
Re: No Activity in Monitoring Engine Event Queue After Reboo
Posted: Mon Sep 25, 2017 10:49 am
by mcwhorts
Installing the correct version of nagios core fixed the problem. Thanks for your help.
Re: No Activity in Monitoring Engine Event Queue After Reboo
Posted: Mon Sep 25, 2017 11:02 am
by kyang
Glad that you got this resolved with installing the new version of Nagios Core!
Is it ok to close to thread?