Module: check_mk
Branch: master
Commit: dcb6f27ad2fe2ecdc3bd4033c42823a7d1d9b9fc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dcb6f27ad2fe2e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 17 09:47:34 2017 +0100
Fixed sometimes broken snmp_communities link in host SNMP community help text
Change-Id: I79c067cb575216a609f87e3ca1575910d5512811
---
web/plugins/wato/builtin_attributes.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/plugins/wato/builtin_attributes.py
b/web/plugins/wato/builtin_attributes.py
index 338f515..360c981 100644
--- a/web/plugins/wato/builtin_attributes.py
+++ b/web/plugins/wato/builtin_attributes.py
@@ -184,7 +184,8 @@ declare_host_attribute(
"contacting this host via SNMP v1/v2 or v3. It is possible
to configure the SNMP community by "
"using the <a href=\"%s\">SNMP
Communities</a> ruleset, but when you configure "
"a community here, this will override the community
defined by the rules.") % \
- html.makeuri([('mode', 'edit_ruleset'),
('varname', 'snmp_communities')]),
+ html.makeuri_contextless([('mode',
'edit_ruleset'), ('varname', 'snmp_communities')],
+ filename="wato.py"),
default_value = None,
)
),