Hi,
Sometimes whem i'm configuring new hosts i get an error stating "Monitoring Engine Stopped".
How can i check the log files related to nagios XI services, whats the location they are stored ?
Nagios Monitoring Engine
Re: Nagios Monitoring Engine
What is the version of Nagios XI that you are running and what is the distro, that Nagios is installed on?
Can you elaborate a little bit more on "sometimes when I'm configuring new hosts..."? Are you running a new Monitoring Wizard, or you are modifying existing hosts/services through the Core Config Manager, etc.?
Do you get any error when you try to apply the configuration?
Run the following two commands and post the output:
Can you elaborate a little bit more on "sometimes when I'm configuring new hosts..."? Are you running a new Monitoring Wizard, or you are modifying existing hosts/services through the Core Config Manager, etc.?
Do you get any error when you try to apply the configuration?
Run the following two commands and post the output:
Code: Select all
# tail /usr/local/nagios/var/nagios.log
# tail /var/log/messagesBe sure to check out our Knowledgebase for helpful articles and solutions!
-
nagiostool
- Posts: 72
- Joined: Wed Jul 20, 2011 2:17 am
Re: Nagios Monitoring Engine
I'm running xi-2011r1.8.tar.gz and its being run on Centos 5.0lmiltchev wrote:What is the version of Nagios XI that you are running and what is the distro, that Nagios is installed on?
Can you elaborate a little bit more on "sometimes when I'm configuring new hosts..."? Are you running a new Monitoring Wizard, or you are modifying existing hosts/services through the Core Config Manager, etc.?
Do you get any error when you try to apply the configuration?
Run the following two commands and post the output:Code: Select all
# tail /usr/local/nagios/var/nagios.log # tail /var/log/messages
the below are the required log messages for
tail /usr/local/nagios/var/nagios.log
[1323665637] Warning: Host 'ESD-CORE-Servers' has no default contacts or contactgroups defined!
[1323665637] Warning: Host 'Hitech-Servers' has no default contacts or contactgroups defined!
[1323665637] Warning: Host 'Orbita-Servers' has no default contacts or contactgroups defined!
[1323665637] Lockfile '/usr/local/nagios/var/nagios.lock' looks like its already held by another instance of Nagios (PID 4770). Bailing out...
[1323665637] livestatus: deinitializing
[1323665637] Event broker module '/usr/lib/check_mk/livestatus.o' deinitialized successfully.
[1323665637] ndomod: Shutdown complete.
[1323665637] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully.
[1323665647] SERVICE ALERT: BBD10DBS13;CPU Usage;WARNING;SOFT;6;CPU Load 88% (5 min average)
[1323665707] SERVICE ALERT: BBD10DBS13;CPU Usage;WARNING;SOFT;7;CPU Load 88% (5 min average)
tail /var/log/messages
Dec 12 10:23:57 station nagios: Warning: Host 'Hitech-Servers' has no default contacts or contactgroups defined!
Dec 12 10:23:57 station nagios: Warning: Host 'Orbita-Servers' has no default contacts or contactgroups defined!
Dec 12 10:23:57 station nagios: Lockfile '/usr/local/nagios/var/nagios.lock' looks like its already held by another instance of Nagios (PID 4770). Bailing out...
Dec 12 10:23:57 station nagios: livestatus: deinitializing
Dec 12 10:23:57 station nagios: Event broker module '/usr/lib/check_mk/livestatus.o' deinitialized successfully.
Dec 12 10:23:57 station nagios: ndomod: Shutdown complete.
Dec 12 10:23:57 station nagios: Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully.
Dec 12 10:24:07 station nagios: SERVICE ALERT: BBD10DBS13;CPU Usage;WARNING;SOFT;6;CPU Load 88% (5 min average)
Dec 12 10:25:07 station nagios: SERVICE ALERT: BBD10DBS13;CPU Usage;WARNING;SOFT;7;CPU Load 88% (5 min average)
Dec 12 10:26:07 station nagios: SERVICE ALERT: BBD10DBS13;CPU Usage;WARNING;SOFT;8;CPU Load 87% (5 min average)
Re: Nagios Monitoring Engine
M guess is that you have multiple instances of Nagios running, and that's causing issues with the restart. We haven't documented integration with mklivestatus either, so I'm not sure if that's causing an issue with the Nagios init script. I'd try running:
and have a running tail on the nagios.log to see what happens.
Code: Select all
service nagios restart