[Nagios-devel] One service definition for all hosts

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] One service definition for all hosts

Post 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]
Locked