Sha256: 4adb600954df90f556d1c1e0e1f9694bc851099be4c0fa3f514ca590c451b12f

Contents?: true

Size: 1.28 KB

Versions: 18

Compression:

Stored size: 1.28 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 : resource.cfg.erb
# ----------------------------------------------------------------
# You can define $USERx$ macros in this file, which can in turn be used
# in command definitions in your host config file(s).  $USERx$ macros are
# useful for storing sensitive information such as usernames, passwords, 
# etc.  They are also handy for specifying the path to plugins and 
# event handlers - if you decide to move the plugins or event handlers to
# a different directory in the future, you can just update one or two
# $USERx$ macros, instead of modifying a lot of command definitions.
#
# The CGIs will not attempt to read the contents of resource files, so
# you can set restrictive permissions (600 or 660) on them.
#
# Nagios supports up to 256 $USERx$ macros ($USER1$ through $USER256$)
#
# Resource files may also be used to store configuration directives for
# external data sources like MySQL...
# ----------------------------------------------------------------

<% Nagios.instance.resources.each do |key,res| -%>
<%= res.definition %>
<% end -%>

Version data entries

18 entries across 18 versions & 1 rubygems

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