Module: check_mk
Branch: master
Commit: 962578f4bed24f458c839d8ca350db348ecf8e51
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=962578f4bed24f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon May 2 15:21:25 2016 +0200
3456 FIX bluecoat_diskcpu: Fixed visualization of graph
---
.werks/3456 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/metrics/check_mk.py | 16 ++++++++++++++++
3 files changed, 27 insertions(+)
diff --git a/.werks/3456 b/.werks/3456
new file mode 100644
index 0000000..34d03a6
--- /dev/null
+++ b/.werks/3456
@@ -0,0 +1,10 @@
+Title: bluecoat_diskcpu: Fixed visualization of graph
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1462195245
+
+
diff --git a/ChangeLog b/ChangeLog
index b6e114b..a1f2faa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -201,6 +201,7 @@
* 3525 FIX: Nagios Core: fixed bug, incomplete cleanup of process tree on service
check timeout...
* 3241 FIX: Fixed broken apt plugin
* 3430 FIX: apc_inrow_temp: fixed wrong data handling if data is not available or
incomplete
+ * 3456 FIX: bluecoat_diskcpu: Fixed visualization of graph
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 4832c39..481061d 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -1143,6 +1143,12 @@ metric_info["fpga_util"] = {
"color" : "#60f020",
}
+metric_info["generic_util"] = {
+ "title" : _("Utilization"),
+ "unit" : "%",
+ "color" : "26/a",
+}
+
metric_info["util"] = {
"title" : _("CPU utilization"),
"unit" : "%",
@@ -3533,6 +3539,10 @@ check_metrics["check_mk-dell_powerconnect_temp"] = {
"temperature" : { "name" : "temp" }
}
+check_metrics["check_mk-bluecoat_diskcpu"] = {
+ "value" : { "name" : "generic_util" }
+}
+
check_metrics["check_mk-ipmi_sensors"] = {
"value" : { "name" : "temp" }
}
@@ -4300,6 +4310,12 @@ perfometer_info.append({
perfometer_info.append({
"type" : "linear",
+ "segments" : [ "generic_util", ],
+ "total" : 100.0,
+})
+
+perfometer_info.append({
+ "type" : "linear",
"segments" : [ "util1", ],
"total" : 100.0,
})