diff options
author | elijah <elijah@riseup.net> | 2015-04-15 16:22:16 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-04-16 11:11:04 -0700 |
commit | 43fb605eebadb18abc62abb5a2fb5bbce41d0334 (patch) | |
tree | 01adad14ad44d0672f67903129979f214e447b84 /puppet | |
parent | bb07407485ed1626221a1190cc2fb2789f95ed22 (diff) |
restore tapicero heartbeat.
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_check_mk/manifests/agent/tapicero.pp | 5 |
1 files changed, 5 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 9bdebe2a..4a5ec68e 100644 --- a/puppet/modules/site_check_mk/manifests/agent/tapicero.pp +++ b/puppet/modules/site_check_mk/manifests/agent/tapicero.pp @@ -16,5 +16,10 @@ class site_check_mk::agent::tapicero { 'rm /files/etc/check_mk/mrpe.cfg/Tapicero_Procs', 'set Tapicero_Procs "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a tapicero"' ], require => File['/etc/check_mk/mrpe.cfg']; + 'Tapicero_Heartbeat': + incl => '/etc/check_mk/mrpe.cfg', + lens => 'Spacevars.lns', + changes => 'set Tapicero_Heartbeat \'/usr/local/lib/nagios/plugins/check_last_regex_in_log -f /var/log/leap/tapicero.log -r "tapicero" -w 300 -c 600\'', + require => File['/etc/check_mk/mrpe.cfg']; } } |