Page 1 of 1

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

Posted: Fri Apr 26, 2002 6:04 pm
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