diff options
author | varac <varacanero@zeromail.org> | 2014-02-13 08:32:14 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-19 15:16:14 +0100 |
commit | 91bee3e81439cca0536856094edc7ceee7da60ff (patch) | |
tree | 8c718495e34c5dcdc579e9bfb5157c1717add974 /puppet/modules/site_check_mk | |
parent | 0e52976bf9e1cb907a2730a78dded0ef8fb2410a (diff) |
set up logwatch.d directory, added for soledad logwatch config
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r-- | puppet/modules/site_check_mk/files/agent/logwatch/soledad.cfg | 4 | ||||
-rw-r--r-- | puppet/modules/site_check_mk/manifests/agent/soledad.pp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/files/agent/logwatch/soledad.cfg b/puppet/modules/site_check_mk/files/agent/logwatch/soledad.cfg new file mode 100644 index 00000000..54b782d3 --- /dev/null +++ b/puppet/modules/site_check_mk/files/agent/logwatch/soledad.cfg @@ -0,0 +1,4 @@ +/var/log/soledad.log + C WSGI application error + C error + diff --git a/puppet/modules/site_check_mk/manifests/agent/soledad.pp b/puppet/modules/site_check_mk/manifests/agent/soledad.pp index d75ae732..cbae81fe 100644 --- a/puppet/modules/site_check_mk/manifests/agent/soledad.pp +++ b/puppet/modules/site_check_mk/manifests/agent/soledad.pp @@ -1,5 +1,9 @@ class site_check_mk::agent::soledad { + file { '/etc/check_mk/logwatch.d/soledad.cfg': + source => 'puppet:///modules/site_check_mk/agent/logwatch/soledad.cfg', + } + # local nagios plugin checks via mrpe file_line { 'Soledad_Procs': |