diff options
| author | varac <varacanero@zeromail.org> | 2016-09-06 13:52:31 +0200 |
|---|---|---|
| committer | varac <varacanero@zeromail.org> | 2016-09-06 13:52:31 +0200 |
| commit | 96506dd7c96a8b908be1b3ff085daad073f37dcd (patch) | |
| tree | b8a959353b21f1c6657a0a295088bf856185dd13 /files/puppet/modules/custom/manifests | |
| parent | 06274c52ec2fff82019b4e839be2e1846a8edcf8 (diff) | |
Ignore most of the flapping checks
Diffstat (limited to 'files/puppet/modules/custom/manifests')
| -rw-r--r-- | files/puppet/modules/custom/manifests/check_mk.pp | 11 | ||||
| -rw-r--r-- | files/puppet/modules/custom/manifests/init.pp | 9 |
2 files changed, 19 insertions, 1 deletions
diff --git a/files/puppet/modules/custom/manifests/check_mk.pp b/files/puppet/modules/custom/manifests/check_mk.pp new file mode 100644 index 0000000..a3020fe --- /dev/null +++ b/files/puppet/modules/custom/manifests/check_mk.pp @@ -0,0 +1,11 @@ +# custom changes to check_mk +# +class custom::check_mk { + + file { '/etc/check_mk/conf.d/ignored_services.custom.mk': + source => 'puppet:///modules/custom/check_mk/ignored_services.custom.mk', + mode => '0644', + owner => 'root', + group => 'root', + } +} diff --git a/files/puppet/modules/custom/manifests/init.pp b/files/puppet/modules/custom/manifests/init.pp index 983ca42..0a67491 100644 --- a/files/puppet/modules/custom/manifests/init.pp +++ b/files/puppet/modules/custom/manifests/init.pp @@ -5,11 +5,18 @@ class custom { $services = hiera('services', []) + # monitoring + # munin include custom_munin_node include custom_shorewall::munin_node + # check_mk + if member ( $services, 'monitor') { + include ::custom::check_mk + } + # packages we want to install on every server - ensure_packages (['iotop', 'vim', 'tmux', 'bash-completion', 'ncdu']) + ensure_packages (['iotop', 'vim', 'tmux', 'bash-completion', 'ncdu', 'tig']) if member ( $services, 'openvpn') { include custom_munin_node::openvpn |
