Module: check_mk
Branch: master
Commit: 1145d61263cacc16aa731be73f3a22b6987c3e99
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1145d61263cacc…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Thu May 17 15:01:22 2018 +0200
Use unicode strings in mbg_lantime.include
Change-Id: Ie19248891edab136fc8e70e388f2586e03fdf094
---
checks/mbg_lantime.include | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/mbg_lantime.include b/checks/mbg_lantime.include
index c431681..ca24421 100644
--- a/checks/mbg_lantime.include
+++ b/checks/mbg_lantime.include
@@ -71,7 +71,7 @@ def check_mbg_lantime_state_common(states, _no_item, params, info):
elif pos_refclock_offset >= warn:
state = 1
if state != 0:
- levels_text = " (warn/crit at %d/%d µs)" % (warn, crit)
+ levels_text = u" (warn/crit at %d/%d µs)" % (warn, crit)
perfdata = [("offset", refclock_offset, warn * 1000, crit * 1000)] # all in
us
- yield state, "Reference clock offset: %g µs%s" % (refclock_offset,
levels_text), perfdata
+ yield state, u"Reference clock offset: %g µs%s" % (refclock_offset,
levels_text), perfdata