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!
Confirming nrpe.cfg command entries
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Confirming nrpe.cfg command entries
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?
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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Confirming nrpe.cfg command entries
I'm sorry. I found the include_dir directive. There was a second one that wasn't commented out.
Please close this. //sigh
Please close this. //sigh
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Confirming nrpe.cfg command entries
@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.
I'll be closing this as resolved.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.