Page 5 of 5

Re: These definition can be placed in their own file or adde

Posted: Wed Mar 16, 2016 12:34 pm
by bmurtha
Sorry, stupid on my part,
[root@localhost etc]# grep -R 'Failed_Jobs' /usr/local/nagios/etc/
/usr/local/nagios/etc/services/10.32.35.180.cfg: service_description Failed_Jobs

Re: These definition can be placed in their own file or adde

Posted: Wed Mar 16, 2016 12:37 pm
by rkennedy
No worries, now we know where to look.

Please post the contents of /usr/local/nagios/etc/services/10.32.35.180.cfg

Re: These definition can be placed in their own file or adde

Posted: Wed Mar 16, 2016 1:06 pm
by bmurtha
I found it and removed it. I then did a

Code: Select all

service nagios restart
and it stopped and started cleanly. Is this where I should be putting the service definition? Or is there a better way of handling this?

Thanks Again,
Regards,
Bryan

Re: These definition can be placed in their own file or adde

Posted: Wed Mar 16, 2016 1:24 pm
by rkennedy
I believe the error wasn't with the whole service, but with the check_command it was using. You were using check_mssql_job defined in commands.cfg, and check_sqllog for the service check.