how to mention the command for http URL in nrpe.cfg at host
Posted: Fri Oct 09, 2015 2:55 am
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
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