summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-07-07 16:30:42 +0200
committervarac <varacanero@zeromail.org>2015-07-07 16:36:30 +0200
commit7e6b3939a69f11d23ed1c876060025fbe694704d (patch)
treedd8a12c50edf7f705da73afadb9295476d04a086
parent3cb5ae59d51d85cde704214dcea7c65da2bf6e94 (diff)
check_mk should not falsely report multiple instances running (#6866)
Change-Id: Ie7943c9a541c3cd2feac7686ed1092aadc5a7c7a
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/tapicero.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/puppet/modules/site_check_mk/manifests/agent/tapicero.pp b/puppet/modules/site_check_mk/manifests/agent/tapicero.pp
index 4a5ec68e..ad9962d4 100644
--- a/puppet/modules/site_check_mk/manifests/agent/tapicero.pp
+++ b/puppet/modules/site_check_mk/manifests/agent/tapicero.pp
@@ -1,3 +1,4 @@
+# sets up tapicero monitoring
class site_check_mk::agent::tapicero {
include ::site_nagios::plugins
@@ -14,7 +15,7 @@ class site_check_mk::agent::tapicero {
lens => 'Spacevars.lns',
changes => [
'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"' ],
+ "set Tapicero_Procs \"/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 --ereg-argument-array='^tapicero$'\"" ],
require => File['/etc/check_mk/mrpe.cfg'];
'Tapicero_Heartbeat':
incl => '/etc/check_mk/mrpe.cfg',