summaryrefslogtreecommitdiff
path: root/puppet/modules/site_check_mk/manifests/agent/haproxy.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-27 22:43:23 +0100
committervarac <varacanero@zeromail.org>2014-02-27 22:43:23 +0100
commit0cd0076f945c0e02bfdc50ff483ceebceec131e2 (patch)
tree21c631e5bdee5e3019c7fbe4dfac1b04ef325599 /puppet/modules/site_check_mk/manifests/agent/haproxy.pp
parente8cd9ab2d4480aa7c16d15f5db664fa650d4c655 (diff)
parent66cc1345c3af4e814d98c8e4b90d90158ac9d399 (diff)
Merge branch 'one_monitornode_rules_them_all' into 0.6
Diffstat (limited to 'puppet/modules/site_check_mk/manifests/agent/haproxy.pp')
-rw-r--r--puppet/modules/site_check_mk/manifests/agent/haproxy.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/puppet/modules/site_check_mk/manifests/agent/haproxy.pp b/puppet/modules/site_check_mk/manifests/agent/haproxy.pp
new file mode 100644
index 00000000..e7986db1
--- /dev/null
+++ b/puppet/modules/site_check_mk/manifests/agent/haproxy.pp
@@ -0,0 +1,12 @@
+class site_check_mk::agent::haproxy {
+
+ include site_check_mk::agent::package::nagios_plugins_contrib
+
+ # local nagios plugin checks via mrpe
+ file_line {
+ 'haproxy':
+ line => 'Haproxy /usr/lib/nagios/plugins/check_haproxy -u "http://localhost:8000/haproxy;csv"',
+ path => '/etc/check_mk/mrpe.cfg';
+ }
+
+}