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

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.
Locked
shitalsakhare
Posts: 1
Joined: Fri Oct 09, 2015 2:43 am

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

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

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

Post by hsmith »

Did you restart xinetd after changing the NRPE configuration file?
Former Nagios Employee.
me.
Locked