Hi all, I have the following configuration:<div><br></div><div>remote sever:</div><div>/etc/nagios/nrpe.cfg</div><div><div>command[check_http]=/usr/lib64/nagios/plugins/check_http -I xx.xx.xx.xxx -u ident.html -w 5 -c 20</div>
<div><br></div><div>(note: I have other checks on this server that are working just fine)</div><div><br></div><div>nagios server:</div><div>/etc/nagios/services_hosts/host1.cfg</div><div><div>define service{</div><div> use vc-service ; Name of service template to use</div>
<div> host_name host1</div><div> service_description check_http</div><div> normal_check_interval 15</div><div> #check_command check_http!xx.xx.xx.xx!ident.html!5!20</div>
<div> check_command check_http!5!10!ident.html</div><div> }</div><div><br></div><div>I have the command defined here:</div><div>/etc/nagios/commands_system_check.cfg</div><div><div>define command{</div>
<div> command_name check_http</div><div> command_line $USER1$/check_http -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$</div><div> }</div><div><br></div><div>And I get HTTP WARNING: HTTP/1.0 404 Not Found </div>
<div><br></div><div>If I run it with check_nrpe manually it works fine:</div><div><div>usr/lib/nagios/plugins/check_nrpe -H n64_vc_de1 -c check_http</div><div>HTTP OK HTTP/1.0 200 OK - 176 bytes in 0.003 seconds |time=0.002549s;5.000000;20.000000;0.000000 size=176B;;;0</div>
<div><br></div></div><div>I've tried so many combinations of ip/host/order of arguments etc etc, I just can't get it working. Any advice? My growing headache would GREATLY appreciate it.</div><div><br></div><div>
deek</div></div></div></div>