Module: check_mk
Branch: master
Commit: 4594c9673483549cf342bdeedd0a4bfe74f0cc07
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4594c967348354…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 18 11:59:11 2017 +0200
Added explicit graph definition for "Packet loss" of the PING services
Change-Id: Ic80a7fd475cd8dfd2e4f6336ad013343714ad0f7
---
web/plugins/metrics/check_mk.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index c55c527..50c4804 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -7569,6 +7569,17 @@ graph_info["round_trip_average"] = {
]
}
+graph_info["packet_loss"] = {
+ "title" : _("Packet loss"),
+ "metrics" : [
+ ("pl", "area"),
+ ],
+ "scalars": [
+ "rta:warn",
+ "rta:crit",
+ ]
+}
+
for idx in range(1, MAX_NUMBER_HOPS):
graph_info["hop_%d_round_trip_average" % idx] = {
"title" : _("Hop %d Round trip average") % idx,