Files
confdroid_nagios/templates/nagios/templates_cfg_rule.erb

13 lines
254 B
Plaintext
Raw Normal View History

2017-07-25 16:32:38 +01:00
2017-07-25 16:46:00 +01:00
<% if @ng_template_object == 'contact' -%>
2017-07-25 16:32:38 +01:00
define <%= @ng_template_object %>{
2017-07-25 16:46:00 +01:00
name <%= @ng_template_object_name %>;
2017-07-25 16:32:38 +01:00
}
2017-07-25 16:46:00 +01:00
<% elsif @ng_template_object == 'host' -%>
<% elsif @ng_template_object == 'service' -%>
<% end -%>