Module: check_mk
Branch: master
Commit: 752a0f3b06ca874deaae7587198bf52113290f31
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=752a0f3b06ca87…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Dec 5 09:05:51 2014 +0100
Added .f12 file for mkeventd/checks
---
mkeventd/checks/.f12 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/mkeventd/checks/.f12 b/mkeventd/checks/.f12
new file mode 100644
index 0000000..b8cc471
--- /dev/null
+++ b/mkeventd/checks/.f12
@@ -0,0 +1,6 @@
+#!/bin/bash
+SITE=${SITE:-$(cat ../../.site 2>/dev/null || true)}
+SITE=${SITE:-$(omd sites --bare | head -n 1)}
+echo "TARGET: /omd/sites/$SITE/share/check_mk/checks"
+sudo rsync -ar ./ /omd/sites/$SITE/share/check_mk/checks/
+