summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-27 22:43:31 +0100
committervarac <varacanero@zeromail.org>2014-02-27 22:43:31 +0100
commitc16592b6ac1e56bb9955a337b0564686c9e18e20 (patch)
tree0427d06dc8fbe8ef659e63ba65b727f9e74dd80a /puppet/modules/site_check_mk
parent0cd0076f945c0e02bfdc50ff483ceebceec131e2 (diff)
parent2209afd630a75335e26516c6d9fa1c796bca8a49 (diff)
Merge branch 'webapp_check' into 0.6
Diffstat (limited to 'puppet/modules/site_check_mk')
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/webapp.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/manifests/agent/webapp.pp b/puppet/modules/site_check_mk/manifests/agent/webapp.pp
index dc2baf19..48fa0828 100644
--- a/puppet/modules/site_check_mk/manifests/agent/webapp.pp
+++ b/puppet/modules/site_check_mk/manifests/agent/webapp.pp
@@ -1,5 +1,14 @@
class site_check_mk::agent::webapp {
+ # check webapp login
+ package { 'python-srp': ensure => installed }
+ file { '/usr/lib/check_mk_agent/local/nagios-webapp_login.py':
+ ensure => link,
+ target => '/srv/leap/webapp/test/nagios/webapp_login.py'
+ }
+
+
+ # check syslog
concat::fragment { 'syslog_webapp':
source => 'puppet:///modules/site_check_mk/agent/logwatch/syslog/webapp.cfg',
target => '/etc/check_mk/logwatch.d/syslog.cfg',