Page 1 of 1

[Nagios-devel] One service definition for all hosts

Posted: Fri May 25, 2007 12:05 am
by Guest
Hello,

Is it possible to define a service check for a hostgroup?
I have 100 nodes in cluster and would like to define sth like this:

define hostgroup{
hostgroup wns
members wn1-wn100
}

define service{
hostgroup wns
service_description SSH
check_command check_ssh
}

It would check SSH on all hosts in "wns" hostgroup,
without defining it for every host.

I did RTFM, but couldn't find the answer.

Regards,
Patryk





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]