Module: check_mk
Branch: master
Commit: 2abaea3e4c3def7d810a8e4f360e6429e5986675
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2abaea3e4c3def…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Mar 6 15:02:43 2017 +0100
fixed converting agent_timestamp
Change-Id: Ic56296697043c5137ebf940bc10509a33fa07f27
---
checks/winperf_if | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/winperf_if b/checks/winperf_if
index a905a6d..1e7b741 100644
--- a/checks/winperf_if
+++ b/checks/winperf_if
@@ -94,7 +94,7 @@ def parse_winperf_if(info):
nic_index = winperf_if_get_nic_index_map(nic_names)
try:
- agent_timestamp = int(info[0][0])
+ agent_timestamp = float(info[0][0])
except (IndexError, ValueError):
agent_timestamp = None