sunetdrive/templates/monitor/sunetdrive_extra_hostgroups.cfg.erb

8 lines
174 B
Text

<% @extra_host_groups.each do |group, members| -%>
# <%= group %>
define hostgroup {
hostgroup_name <%= group %>
alias <%= group %>
members <%= members %>
}
<% end -%>