Sha256: 05b39da477d3aeaa3fdc82f391918f6c68995f349ee02caf6911f5465e3a7e26

Contents?: true

Size: 941 Bytes

Versions: 18

Compression:

Stored size: 941 Bytes

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 : templates.cfg.erb
# ----------------------------------------------------------------
# Contact definitions
# Host definitions
# Service definitions
# ----------------------------------------------------------------

<% Nagios.instance.contacts.each do |key,contact| -%>
<% if contact.name # Only get all the template contacts %>
<%= contact.definition %>

<% end %>
<% end -%>

<% Nagios.instance.hosts.each do |key,host| -%>
<% if host.name # Only get all the template hosts %>
<%= host.definition %>

<% end %>
<% end -%>

<% Nagios.instance.services.each do |key,service| -%>
<% if service.name # Only get all the template services %>
<%= service.definition %>

<% end %>
<% end -%>

Version data entries

18 entries across 18 versions & 1 rubygems

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