define command { command_name check_f5 command_line $USER1$/check_f5.pl -H $HOSTNAME$ -C '$ARG1$' -m '$ARG2$' -t 15 } define command { command_name check_f5_svr command_line $USER1$/check_f5.pl -H $HOSTNAME$ -C '$ARG1$' -m 'server:$ARG2$' --no-optimise -t 15 } define service{ use generic-service host_name my-f5-switch service_description Health check_command check_f5!public!cpu(80,90) mem(80,90) fan psu temp cluster! } define service{ use generic-service host_name my-f5-switch service_description Server /foo/bar check_command check_f5_svr!public!/foo/bar(100,200)! }