Sha256: 2dd468fb526f4a123f5fe5996263eb2cd3bfd1242c2d7fe6b94bfa0646e716f6
Contents?: true
Size: 1.14 KB
Versions: 18
Compression:
Stored size: 1.14 KB
Contents
# $Id: Generated by chef for node: <%= node['hostname'] %> # ---------------------------------------------------------------- # NOTE: This file is controlled by chef templates! # Do not edit or change this file but change the following: # template file : contacts.cfg.erb # ---------------------------------------------------------------- # Contact definitions # Contactgroup definitions # ---------------------------------------------------------------- <% Nagios.instance.contacts.each do |key,contact| -%> <% if contact.name.nil? # Skipping all the template contacts %> <%= contact.definition %> <% end %> <% end -%> <% Nagios.instance.contactgroups.each do |key,group| -%> <% if group.name.nil? # Skipping all the template contactgroups %> <%= group.definition %> <% end %> <% end -%> <% Nagios.instance.serviceescalations.each do |escalation| -%> <% if escalation.name.nil? # Skipping all the template serviceescalations %> <%= escalation.definition %> <% end %> <% end -%> <% Nagios.instance.hostescalations.each do |escalation| -%> <% if escalation.name.nil? # Skipping all the template hostescalations %> <%= escalation.definition %> <% end %> <% end -%>
Version data entries
18 entries across 18 versions & 1 rubygems