Module: check_mk
Branch: master
Commit: b1da0545a1559e479d415c26ab8eee0b0d602f00
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b1da0545a1559e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 8 11:08:02 2016 +0100
3278 FIX fritz_wan_if: Fixed incorrect unit Bit used in check
---
.werks/3278 | 10 ++++++++++
ChangeLog | 1 +
checks/fritz | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/3278 b/.werks/3278
new file mode 100644
index 0000000..72e748b
--- /dev/null
+++ b/.werks/3278
@@ -0,0 +1,10 @@
+Title: fritz_wan_if: Fixed incorrect unit Bit used in check
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1457431633
+
+
diff --git a/ChangeLog b/ChangeLog
index a4ace3b..acb9444 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -65,6 +65,7 @@
* 3089 FIX: cmciii.temp: added handling for more device states
* 3276 FIX: esx_vsphere_vm.snapshot: Graphs now scale the age of the scnapshots
correctly
* 3277 FIX: veeam_jobs: Handling missing state "Postprocessing" now
+ * 3278 FIX: fritz_wan_if: Fixed incorrect unit Bit used in check
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/checks/fritz b/checks/fritz
index 225d5d7..c63db39 100644
--- a/checks/fritz
+++ b/checks/fritz
@@ -157,7 +157,7 @@ def check_fritz_wan_if(item, params, info):
if 'assumed_speed_out' not in params:
params['assumed_speed_out'] =
int(data['NewLayer1UpstreamMaxBitRate'])
if 'unit' not in params:
- params['unit'] = 'Bit'
+ params['unit'] = 'bit'
return check_if_common(item, params, fritz_wan_if_to_if64(data))
check_info["fritz.wan_if"] = {