Page 1 of 1

how to mention the command for http URL in nrpe.cfg at host

Posted: Fri Oct 09, 2015 2:55 am
by shitalsakhare
Hi ,

I am entering the command as below:

command[check_http_18080]=/usr/lib64/nagios/plugins/check_http -H 172.168.1.12 -p 18080 -f follow -u '/blabla/customer/check-.htm?callback=?&user_id=foo

This is giving the error as "NRPE: Command 'check_http_18080' not defined "

It seems the symbol '=' in the url creating the issue because of which my nagios server not able to understand the command name. Please suggest how can I mention the command with the same url ?

Thanks in advance,
Shital

Re: how to mention the command for http URL in nrpe.cfg at h

Posted: Fri Oct 09, 2015 9:44 am
by hsmith
Did you restart xinetd after changing the NRPE configuration file?