hostgroups.cfg - hostgroups as members within hostgroup definitions
Ben Whaley
bwhaley at costrack.com
Thu Nov 6 23:36:20 CET 2003
This question is similar to the one earlier today with subject Nagios:
Nested Host Groups. I would like to define a hostgroup with several members
and then use that hostgroup within other hostgroups.
For example, I have a number of hosts setup in a cluster. I will call them
cluster1, cluster2, cluster3, and cluster4. I would like to make these a
hostgroup, like this:
define hostgroup {
hostgroup_name cluster_group_a
alias cluster_group_a
contact_groups whatever
members cluster1, cluster2, cluster3, cluster4
}
I would then like to include this in another hostgroup, such as the
following:
define hostgroup {
hostgroup_name my_clusters
alias my_clusters
contact_groups whatever
members cluster_group_a, cluster_group_b, cluster_group_c
}
I think you get the picture. Is this possible? If so, do I do it like that?
Thanks in advance. I apologize if this subject has been covered before - I
didn't see anything after a quick search of the list.
Thanks and Regards,
Ben Whaley
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list