Multiple "members" lines in hostgroup definiti ons?
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Thu Oct 3 21:14:51 CEST 2002
Wild speculation on my part (read: I haven't tried this):
What about multiple instances of the 'members' directive, thusly:
define hostgroup{
hostgroup_name prod
alias Production Hosts
contact_groups unix-admins
members host1,host2,host3,host4
members host5,host6,host7,host8
}
Food for thought.
jc
> -----Original Message-----
> From: Rob King [mailto:rob.king at wholefoods.com]
> Sent: Thursday, October 03, 2002 11:34 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Multiple "members" lines in hostgroup
> definitions?
>
>
> Hello everyone,
> I was wondering if anyone knew of a way to have the
> "members" entry
> of a hostrgroup definition span multiple lines? I've tried ending the
> line with a comma-newline, but that doesn't work. Ditto for
> backslashing it.
>
> The problem is, I'm going to have hostgroups with several dozen
> members, and having them all on one line is going to be unsightly to
> say the least, and uneditable to say the worst.
>
> Please let me know if anyone knows of a way around this.
>
> Thanks,
> Rob
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list