Module: check_mk
Branch: master
Commit: da00488554a3d794befe53f1a0446a6995fa973f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=da00488554a3d7…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Sep 19 09:10:02 2013 +0200
fixed representation of snmptrap syslog facility
---
mkeventd/web/plugins/wato/mkeventd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkeventd/web/plugins/wato/mkeventd.py
b/mkeventd/web/plugins/wato/mkeventd.py
index 8f56414..f836951 100644
--- a/mkeventd/web/plugins/wato/mkeventd.py
+++ b/mkeventd/web/plugins/wato/mkeventd.py
@@ -964,7 +964,7 @@ def mode_mkeventd_rules(phase):
# Syslog Facility
if "match_facility" in rule:
facnr = rule["match_facility"]
- html.write("<td>%s</td>" %
mkeventd.syslog_facilities[facnr][1])
+ html.write("<td>%s</td>" %
dict(mkeventd.syslog_facilities)[facnr])
else:
html.write("<td></td>")