Skip to content

Instantly share code, notes, and snippets.

@bkerley
Last active December 13, 2015 23:08
Show Gist options
  • Save bkerley/4988970 to your computer and use it in GitHub Desktop.
Save bkerley/4988970 to your computer and use it in GitHub Desktop.
name "monitoring"
description "Monitoring server"
run_list(
"recipe[nagios::server]"
)
default_attributes(
"nagios" => {
"server_auth_method" => "htauth"
},
'ntp' => {
'servers' => (0..3).map{|n| "#{n}.north-america.pool.ntp.org" },
'is_server' => true,
'restrictions' => ['0.0.0.0 mask 0.0.0.0 nomodify notrap']
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment