Unable to restart Nagios Monitoring Engine

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Unable to restart Nagios Monitoring Engine

Post 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.
You do not have the required permissions to view the files attached to this post.
Last edited by ecarrasq on Tue Sep 20, 2011 3:33 pm, edited 1 time in total.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unable to restart Nagios Monitoring Engine

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Unable to restart Nagios Monitoring Engine

Post 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.
Locked