On Wed, 2006-03-29 at 12:55 -0500, David Mansfield wrote: > Something like: > > define host { > use generic-host > host_name myhost.mydomain.com > alias myhost > address 1.2.3.4 > > custom_macro FOOPROPERTY=AA:BB:CC:DD > custom_macro BARVALUE=BigImportantValue > > hostgroups all_foo,all_bar > } > > With: > > define hostgroup { > name all_foo > alias all_foo > } > > define service { > hostgroup_name all_foo > check_command check_foo > } > > And finally, the payoff: > > define command { > command_name check_foo > command_line $USER1$/check_foo -f $FOOPROPERTY$ > }
You've pretty much exactly described $ARG1$, $ARG2$, ... $ARGn$
signature.asc
Description: This is a digitally signed message part