Module: check_mk
Branch: master
Commit: e2e0110d78605c435d589b8c8bd1c77630c0cac4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e2e0110d78605c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 25 13:53:05 2016 +0200
Function has been renamed
---
modules/automation.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/automation.py b/modules/automation.py
index 5b98d83..c44b3bd 100644
--- a/modules/automation.py
+++ b/modules/automation.py
@@ -1090,7 +1090,7 @@ def load_resource_file(macros):
# here. We could read the Nagios resource.cfg file, but we do not
# know for sure the place of that either.
def replace_core_macros(hostname, commandline):
- macros = get_basic_host_macros_from_attributes(hostname,
get_host_attributes(hostname))
+ macros = get_host_macros_from_attributes(hostname, get_host_attributes(hostname))
load_resource_file(macros)
for varname, value in macros.items():
commandline = commandline.replace(varname, str(value))