Module: check_mk
Branch: master
Commit: b3e3650df3e919955715f1fb0b6c60905cdc6646
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b3e3650df3e919…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Apr 18 17:09:49 2016 +0200
Added missing default declaration of omd_site variable (equal to omd_root)
---
modules/check_mk.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 4e98004..8e6ff18 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -90,6 +90,7 @@ if '--profile' in sys.argv[1:]:
# are we running OMD? If yes, honor local/ hierarchy
omd_root = os.getenv("OMD_ROOT", None)
+omd_site = os.getenv("OMD_SITE", None)
if omd_root:
local_share = omd_root + "/local/share/check_mk"
local_checks_dir = local_share + "/checks"