These definition can be placed in their own file or added to

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
bmurtha
Posts: 27
Joined: Tue Feb 23, 2016 11:08 am

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

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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
Former Nagios Employee
bmurtha
Posts: 27
Joined: Tue Feb 23, 2016 11:08 am

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

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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.
Former Nagios Employee
Locked