[checkmk-commits] Check_MK Git: check_mk: Futher checkhelper supports .site

Mathias Kettner mk at mathias-kettner.de
Thu Sep 26 09:42:49 CEST 2013


Module: check_mk
Branch: master
Commit: 8e6c2d7ed4a6af94182f2c8d6137adddc1dff84b
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8e6c2d7ed4a6af94182f2c8d6137adddc1dff84b

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Thu Sep 26 09:42:45 2013 +0200

Futher checkhelper supports .site

---

 checks/.f12 |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/checks/.f12 b/checks/.f12
index c4e5e87..5e1a7fa 100644
--- a/checks/.f12
+++ b/checks/.f12
@@ -1,3 +1,5 @@
+#!/bin/bash
+SITE=${SITE:-$(cat ../.site)}
 SITE=${SITE:-$(omd sites --bare | head -n 1)}
 sudo rsync -ar --delete-after ./ /omd/sites/$SITE/share/check_mk/checks/
 



More information about the checkmk-commits mailing list