Module: check_mk
Branch: master
Commit: 9f88abb5c8ce7eb943c9bec534963bc62023cf5f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9f88abb5c8ce7e…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Oct 17 16:50:32 2013 +0200
Its now possible to use klappbook$ in service descriptions of active_checks. Needed for
check_dns and check_ftp
---
modules/check_mk.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index 5b59f92..c372f77 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -2146,6 +2146,7 @@ define service {
has_perfdata = act_info.get('has_perfdata', False)
description = act_info["service_description"](params)
+ description = description.replace('$HOSTNAME$', g_hostname)
if do_omit_service(hostname, description):
continue