diff options
author | varac <varacanero@zeromail.org> | 2014-12-17 20:01:54 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-12-17 20:01:54 +0100 |
commit | 2f02d8aa21b866f2e37426afa8110a5c1f5c31e6 (patch) | |
tree | 37d5d4701e9652575917cbaa6323ab5eb3204153 /puppet/modules/site_check_mk/manifests | |
parent | bbd0bb1e0a497a9aca93065c3c6ec20fafde824a (diff) | |
parent | c16c019a3f0f1f4d5ebce9ade59a7386c3c2bb18 (diff) |
Merge branch '6556_tapicero_heartbeat' into develop
Diffstat (limited to 'puppet/modules/site_check_mk/manifests')
-rw-r--r-- | puppet/modules/site_check_mk/manifests/agent/tapicero.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/manifests/agent/tapicero.pp b/puppet/modules/site_check_mk/manifests/agent/tapicero.pp index 369ed00b..ffd11100 100644 --- a/puppet/modules/site_check_mk/manifests/agent/tapicero.pp +++ b/puppet/modules/site_check_mk/manifests/agent/tapicero.pp @@ -1,5 +1,7 @@ class site_check_mk::agent::tapicero { + include ::site_nagios::plugins + concat::fragment { 'syslog_tapicero': source => 'puppet:///modules/site_check_mk/agent/logwatch/syslog/tapicero.cfg', target => '/etc/check_mk/logwatch.d/syslog.cfg', @@ -11,6 +13,10 @@ class site_check_mk::agent::tapicero { 'Tapicero_Procs': line => 'Tapicero_Procs /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a tapicero', path => '/etc/check_mk/mrpe.cfg'; + + 'Tapicero_Heartbeat': + line => 'Tapicero_Heartbeat /usr/local/lib/nagios/plugins/check_last_regex_in_log -f /var/log/syslog -r "tapicero" -w 300 -c 600', + path => '/etc/check_mk/mrpe.cfg'; } } |