Page 1 of 1
Confirming nrpe.cfg command entries
Posted: Tue Apr 30, 2019 3:27 pm
by awilson
Hi. It appears that a local host is running a service check (and providing results) for a script that is not defined as a command in nrpe.cfg. Should that happen? Do scripts have to be defined in nrpe.cfg as commands?
Thanks!
Re: Confirming nrpe.cfg command entries
Posted: Tue Apr 30, 2019 3:39 pm
by npolovenko
Hi,
@awilson. Yeah, that shouldn't be happening. All scripts on the nrpe server need to be specified in commands. If you don't have a command that calls the script on the nrpe server, then I'd suspect you're either: a) checking the wrong nrpe server or b) the nrpe server is using a different nrpe.cfg file, in a different path.
Can you show me what service check you're talking about, show the command and upload the nrpe.cfg file from the remote nrpe server?
Re: Confirming nrpe.cfg command entries
Posted: Tue Apr 30, 2019 4:34 pm
by awilson
I'm sorry. I found the include_dir directive. There was a second one that wasn't commented out.
Please close this. //sigh
Re: Confirming nrpe.cfg command entries
Posted: Tue Apr 30, 2019 4:42 pm
by npolovenko
@awilson, No problem, I was thinking of including import files in my list of reasons but then decided not to

.
I'll be closing this as resolved.