###### Command definition # $USER1$ holds the path to the nagios plugins # Check complete page retrieval define command{ command_name check_http_complete command_line $USER1$/check_http_requisites.py -U http://$HOSTADDRESS$$ARG1$ -w $ARG2$ -c $ARG3$ } ###### Service template define service{ use generic-service name generic-http-complete service_description net HTTP complete check_command check_http_complete!/!5!10 register 0 } ###### Service definition # this assumes you have defined my_host somewhere define service{ use generic-http-complete host_name my_host } # This check would therefore retieve the root ('/') of my_host. # Warning if it takes more than 5, critical if it takes more than 10 seconds