Module: check_mk
Branch: master
Commit: 23f3ff2d2b7b0e9a70200627cba652ee91d35fe8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=23f3ff2d2b7b0e…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Dec 20 14:20:25 2016 +0100
4174 FIX added missing perfometer for interface services
Change-Id: I9e80689744b82191bfef0a92095aaa6f233d6841
---
.werks/4174 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/metrics/check_mk.py | 15 +++++++++++++++
3 files changed, 26 insertions(+)
diff --git a/.werks/4174 b/.werks/4174
new file mode 100644
index 0000000..f842d26
--- /dev/null
+++ b/.werks/4174
@@ -0,0 +1,10 @@
+Title: added missing perfometer for interface services
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i4
+Date: 1482239968
+
+
diff --git a/ChangeLog b/ChangeLog
index b4dc714..df578dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
* 4207 FIX: mk_jolokia: Use configured port as default instance name...
NOTE: Please refer to the migration notes!
* 4208 FIX: mk_jolokia: Plugin now works with jolokia versions requiring the base url
to finish with a slash...
+ * 4174 FIX: added missing perfometer for interface services
Multisite:
* 4169 View action: Default values of sticky, notification and persistent options can
now be configured via global settings....
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index bc8e858..76e51aa 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -5202,6 +5202,21 @@ perfometer_info.append(("dual", [
perfometer_info.append(("dual", [
{
"type" : "logarithmic",
+ "metric" : "if_in_octets",
+ "half_value" : 5000000,
+ "exponent" : 5,
+ },
+ {
+ "type" : "logarithmic",
+ "metric" : "if_out_octets",
+ "half_value" : 5000000,
+ "exponent" : 5,
+ }
+]))
+
+perfometer_info.append(("dual", [
+ {
+ "type" : "logarithmic",
"metric" :
"if_out_unicast_octets,if_out_non_unicast_octets,+",
"half_value" : 5000000,
"exponent" : 5,