diff --git a/manifests/params.pp b/manifests/params.pp index 8c8d13f..907d721 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -421,6 +421,8 @@ # in Nagios. Default is '1'. # @param [String] ng_ack_no_send Whether to allow non-send acknowledgements # in Nagios. Default is '1'. +# @param [String] ng_tac_cgi_hard_only Whether to show only HARD states in the +# Tactical Overview in Nagios. Default is '0'. ################################################################################ class confdroid_nagios::params ( @@ -620,6 +622,7 @@ class confdroid_nagios::params ( String $ng_navbar_aliases = '1', String $ng_ack_no_sticky = '0', String $ng_ack_no_send = '0', + String $ng_tac_cgi_hard_only = '0', # httpd Boolean $ng_use_https = false, diff --git a/templates/nagios/cgi_cfg.erb b/templates/nagios/cgi_cfg.erb index 97754d3..c0df3da 100644 --- a/templates/nagios/cgi_cfg.erb +++ b/templates/nagios/cgi_cfg.erb @@ -96,14 +96,7 @@ navbar_search_for_aliases=<%= @ng_navbar_aliases %> ack_no_sticky=<%= @ng_ack_no_sticky %> ack_no_send=<%= @ng_ack_no_send %> - -# SHOW ONLY HARD STATES IS TACTICAL OVERVIEW -# This option controls whether only HARD states are counted on the -# Tactical Overview, or if both HARD and SOFT states are counted. -# Set to 1 to show only HARD states. Defaults to 0 (HARD+SOFT). - -#tac_cgi_hard_only=0 - +tac_cgi_hard_only=<%= @ng_tac_cgi_hard_only %> # COMMAND COMMENTS