NRPE Not Working

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.
troche
Posts: 7
Joined: Tue Jul 19, 2016 9:00 am

Re: NRPE Not Working

Post 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...
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRPE Not Working

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
troche
Posts: 7
Joined: Tue Jul 19, 2016 9:00 am

Re: NRPE Not Working

Post by troche »

Yes, you can close the thread.
Locked