Re: [Nagios-devel] Suggestion: hostgroups for service definitions

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

Re: [Nagios-devel] Suggestion: hostgroups for service definitions

Post by Guest »

Its an undocumented feature, but this is already supported.

define service{
hostgroup hg1,hg2,hg3
service_description PING
...
}

This would create a "PING" service on all hosts in hostgroups hg1,
hg2, and hg3.

On 26 Apr 2002 at 12:27, John Radopp wrote:
>
> Wouldn't it make sense to allow hostgroups to be accepted as targets
> for service checks in addition to hostnames?
>
> Regards,
>
> John
>
>
>
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>



Ethan Galstad,
Nagios Developer
---
Email: nagios@nagios.org
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: nagios@nagios.org
Locked