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

Version Path
cloud-mu-2.0.4 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.1.0beta cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.3 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.2 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.1 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.beta3 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.beta2 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.beta1 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.alpha9 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.alpha8 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.alpha7 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.alpha6 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.alpha5 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.alpha4 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.alpha3 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.alpha2 cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-2.0.0.pre.alpha cookbooks/nagios/templates/default/contacts.cfg.erb
cloud-mu-1.9.0.pre.beta cookbooks/nagios/templates/default/contacts.cfg.erb