Module: check_mk
Branch: master
Commit: 959a864d47c15703c4d6b3f05cc681d8ce840fcf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=959a864d47c157…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Sep 28 10:14:05 2017 +0200
5301 FIX infoblox_dhcp_stats: Fixed crash of graphs
One definition has been missing and led into a crash of the graphs for
these services.
Change-Id: I86a7787e5a0bda6abbafae7ce48d430a2fb0d2f2
---
.werks/5301 | 11 +++++++++++
web/plugins/metrics/check_mk.py | 6 ++++++
2 files changed, 17 insertions(+)
diff --git a/.werks/5301 b/.werks/5301
new file mode 100644
index 0000000..18e8df4
--- /dev/null
+++ b/.werks/5301
@@ -0,0 +1,11 @@
+Title: infoblox_dhcp_stats: Fixed crash of graphs
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1506586333
+Class: fix
+
+One definition has been missing and led into a crash of the graphs for
+these services.
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index c5725ae..c55c527 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -3843,6 +3843,12 @@ for what, descr, unit, color in [
"color" : color,
}
+metric_info["dhcp_discovery"] = {
+ "title" : _("DHCP Discovery messages"),
+ "unit" : "count",
+ "color" : "11/a",
+}
+
metric_info["dhcp_requests"] = {
"title" : _("DHCP received requests"),
"unit" : "count",