hi, I ran this from the shell:
./check_http -H host2 -p 8088 HTTP OK HTTP/1.1 200 OK - 1192 bytes in 0.343 seconds |time=0.342683s;;;0.000000 size=1192B;;;0 now I added these lines in services.cfg: define service{ use local-service ; Name of service template to use host_name host2 service_description HTTP availability check_command check_http -H host2 -p 8080 } when I ran ./nagios -v ../etc/nagios.cfg, I have this error: Error: Service check command 'check_http -H host2 -p 8080' specified in service 'HTTP availability' for host 'host2' not defined anywhere! PS: in commands.cfg, I have these: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } thanks. ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null