Page 1 of 1

Unable to restart Nagios Monitoring Engine

Posted: Tue Sep 20, 2011 12:43 pm
by ecarrasq
System Info
Linux Distribution and version?

*Linux version 2.6.18-274.3.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Sep 6 20:14:03 EDT 2011
CentOS release 5.7 (Final)

32 or 64bit?

32 bit

VMware Image or Manual Install of XI?

VMware Image

Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?

No.

ISSUE

Unable to restart nagios. Keep getting error:
service nagios restart
"Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration."
I attached the output of:
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
How can I correct the lines on the service config files, when Nagios QL over writes them?

Please help. Thank you.

Re: Unable to restart Nagios Monitoring Engine

Posted: Tue Sep 20, 2011 2:38 pm
by lmiltchev
You have to make all of the changes through the Nagios Core Config Manager. You have many "duplicate definition" errors that you should take care of, but more importantly, you have two errors:

Code: Select all

Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'check_dell_openmanage.1.3' on host 'VCBPROXY'
Error: Could not register service (config file '/usr/local/nagios/etc/services/check_dell_openmanage.1.3.cfg', starting on line 14)
Try fixing them through the CCM.

You can review our wiki page on configuration problems here:

http://support.nagios.com/wiki/index.ph ... n_Problems
You can keep custom configuration files in the /usr/local/nagios/etc/static directory
Don't modify config files directly in /usr/local/nagios/etc, as they will be overwritten by the Core Config Manager
Let us know if you need more help.

Re: Unable to restart Nagios Monitoring Engine

Posted: Tue Sep 20, 2011 3:33 pm
by ecarrasq
That fixed it! Thank you!

I deleted the new services that were incorrectly created (check_dell_openmanage.1.3) via the CCM and things are back to normal.

Thank you also for pointing me to the wiki "You can keep custom configuration files in the /usr/local/nagios/etc/static directory", as it will be very useful to us as we move forward.