Page 1 of 1

Cant find service to update and config update fails

Posted: Mon Jul 19, 2010 2:56 pm
by elarkin
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'AJP Connection check' on host 'Jboss Cluster 1'
Error: Could not register service (config file '/usr/local/nagios/etc/services/AJP Connection Pool Prod Jboss 1.cfg', starting on line 14)
Error processing object config files!


I can not locate this service to update the config but still fails when applying the configuration.

How can i get rid of this or load an older working config?

Thanks

Re: Cant find service to update and config update fails

Posted: Mon Jul 19, 2010 3:44 pm
by mmestnik
This sounds like you might just need to know that the list does not show host name 'Jboss Cluster 1'. The entry should contain the correct service description 'AJP Connection check', but as services can be associated with multiple hosts and even more then one host group the list displayes the name of the config file that contains the service.

So check EVERY 'AJP Connection check' to see if it's the one tossing the error.

Re: Cant find service to update and config update fails

Posted: Tue Jul 20, 2010 9:45 am
by elarkin
Sorry, i am very new to nagios.

I managed to find the service with the service with the search feature and I set all the options for alert intervals etc.. and that worked.

Thanks
Ed

Re: Cant find service to update and config update fails

Posted: Tue Jul 20, 2010 10:55 am
by mmestnik
Thank you for that tip, it's interesting to know that the serch feature can be used in this mannor. ;)