Module: check_mk
Branch: master
Commit: f8f5fc5a6056498eb999d1d3f7a4322e48b873b0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f8f5fc5a605649…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 5 16:12:03 2011 +0200
mbg_lantime_state Not using absolute offset time in status output
---
checks/mbg_lantime_state | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/mbg_lantime_state b/checks/mbg_lantime_state
index 6c0fd13..c6a0030 100644
--- a/checks/mbg_lantime_state
+++ b/checks/mbg_lantime_state
@@ -77,7 +77,7 @@ def check_mbg_lantime_state(item, params, info):
elif params[3] is not None and pos_refclock_offset > params[2]:
state = max(state, 1)
thr_txt = ' (!)'
- state_txt.append('Refclock Offset: %0.4fms%s' % (pos_refclock_offset /
1000, thr_txt))
+ state_txt.append('Refclock Offset: %0.4fms%s' %
(savefloat(refclock_offset) / 1000, thr_txt))
perfdata = [('offset', refclock_offset, params[2], params[3])]