Page 1 of 1

xiwizard_printer_host - arguments

Posted: Mon May 11, 2015 8:48 am
by briannd81
Does xiwizard_printer_ping_servicetakes any default arguments similar to check_host_alive?

For example, check_host_alive pass in the following

$USER1$/check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5

Re: xiwizard_printer_host - arguments

Posted: Mon May 11, 2015 12:01 pm
by lmiltchev
The "xiwizard_printer_ping_service" is one of the default service templates. See below how it is defined:

Code: Select all

define service {
       name                          		xiwizard_printer_ping_service
       use                           		xiwizard_generic_service
       check_command                 		check_xi_service_ping!3000.0!80%!5000.0!100%
       register                    		0

}
It uses the "check_xi_service_ping" command:

Code: Select all

define command {
       command_name                  		check_xi_service_ping
       command_line                  		$USER1$/check_icmp -H $HOSTADDRESS$ -w $ARG1$,$ARG2$ -c $ARG3$,$ARG4$ -p 5
}