Variable substitution inside host grouping?
Sebastian Kayser
sebastian.kayser at bifab.de
Fri Aug 19 07:17:08 EDT 2005
Is there something like a variable substitution i can use inside my host
groupings?
Inside my host groupings i have configured several script checks via the
Prog service. Each of these scripts takes the hostname as parameter.
So instad of having to write down the hostname for each of these scripts
Host "foobar" {
countstop: yes
Service Prog {
label: MetaDB
command: check.sh ds-metadb foobar
expect: ^OK
}
...
}
i am in search for something like
Host "foobar" {
countstop: yes
Service Prog {
label: MetaDB
command: check.sh ds-metadb $HOST
expect: ^OK
}
...
}
Cheers,
Sebastian
More information about the Arguslist
mailing list