Page 2 of 2

Re: NRPE Not Working

Posted: Wed Jul 20, 2016 11:45 am
by troche
So in my service definition I was using "use local-service". I changed this to "use generic-service" which had no effect (kind of expected). I then remove the "use <service>" clause and put in only the relevant parts (i.e. host_name, service_description, check_command, max_check_attempts, retry_check_interval, check_period, notification_interval). These were set to the same values as defined for "generic-service" in templates.cfg. All is fine and working now. Bizarre...

Re: NRPE Not Working

Posted: Wed Jul 20, 2016 12:01 pm
by lmiltchev
It is strange. The only thing that can be causing this (that I can think of) is not having the path to "templates.cfg" (or having a wrong path) specified in the "nagios.cfg". In any case, I am glad that you r issue has been resolved. Is it all right if we close this thread?

Re: NRPE Not Working

Posted: Wed Jul 20, 2016 1:21 pm
by troche
Yes, you can close the thread.