Skip to content

Commit

Permalink
Add the setting for 'service_check_timeout_state' with a default.
Browse files Browse the repository at this point in the history
  • Loading branch information
timw077 committed Apr 20, 2015
1 parent 66890c4 commit 424bb24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions attributes/default.rb
Expand Up @@ -136,6 +136,7 @@
default['nagios']['accept_passive_service_checks'] = 1
default['nagios']['execute_host_checks'] = 1
default['nagios']['accept_passive_host_checks'] = 1
default['nagios']['service_check_timeout_state'] = 'c'

default['nagios']['obsess_over_services'] = 0
default['nagios']['ocsp_command'] = nil
Expand Down
1 change: 1 addition & 0 deletions templates/default/nagios.cfg.erb
Expand Up @@ -89,6 +89,7 @@ execute_service_checks=<%= node['nagios']['execute_service_checks'] %>
accept_passive_service_checks=<%= node['nagios']['accept_passive_service_checks'] %>
execute_host_checks=<%= node['nagios']['execute_host_checks'] %>
accept_passive_host_checks=<%= node['nagios']['accept_passive_host_checks'] %>
service_check_timeout_state=<%= node['nagios']['service_check_timeout_state'] %>

enable_notifications=<%= node['nagios']['notifications_enabled'] %>
enable_event_handlers=1
Expand Down

0 comments on commit 424bb24

Please sign in to comment.