Module: check_mk
Branch: master
Commit: 284bb2d53744f0c5a9e8df0d60148951b4edc89d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=284bb2d53744f0…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Oct 24 10:27:07 2017 +0200
5324 FIX check_tcp: Made response time metric readable
Change-Id: I60269b4d39cc3b9863f72ea29740d239e02779ec
---
.werks/5324 | 11 +++++++++++
web/plugins/metrics/check_mk.py | 4 ++++
2 files changed, 15 insertions(+)
diff --git a/.werks/5324 b/.werks/5324
new file mode 100644
index 0000000..cdb6bcc
--- /dev/null
+++ b/.werks/5324
@@ -0,0 +1,11 @@
+Title: check_tcp: Made response time metric readable
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1508833565
+
+
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 50c4804..84782b5 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -4094,6 +4094,10 @@ check_metrics["check_icmp"] = {
"rtmin" : { "scale" : m },
}
+check_metrics["check_tcp"] = {
+ "time": { "name": "response_time" }
+}
+
check_metrics["check-mk-host-ping"] = {
"rta" : { "scale" : m },
"rtmax" : { "scale" : m },