search for: 090nrpe_filter

Displaying 1 result from an estimated 1 matches for "090nrpe_filter".

2011 Nov 30
1
Using facts from stored configs based on class
...ot;ip". I''d like to use "ip" fact of any node that is assigned to class "nagios::server" $nagios_servers = Ip <<| class="nagios::server" |>> # Construct firewall rule from template using knowledge of external hosts. ipt_fragment { "090nrpe_filter": table => "filter", content => template("nagios/nrpe.cfg.erb"), } } templates/nrpe.cfg.erb: ... allowed_hosts=<%= nagios_servers.join('','') %> ... I''m currently storing this type of data (nagios_servers) in CSV & using...