Module: check_mk
Branch: master
Commit: 2d228f5f440db40d8823f1b3a9f44b151a4234a7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2d228f5f440db4…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Aug 31 14:41:41 2016 +0200
3647 check_http: Improved rendering of the extended performance data
---
.werks/3647 | 9 ++++++++
ChangeLog | 1 +
web/plugins/metrics/check_mk.py | 43 +++++++++++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+)
diff --git a/.werks/3647 b/.werks/3647
new file mode 100644
index 0000000..314e824
--- /dev/null
+++ b/.werks/3647
@@ -0,0 +1,9 @@
+Title: check_http: Improved rendering of the extended performance data
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.4.0i1
+Date: 1472647266
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index 6b27a0e..a5a001b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -149,6 +149,7 @@
* 3796 agent_vsphere: new option allows monitoring of ESX hostsystem and windows
agent
* 3797 Check_MK Check helpers: Decreased memory consumption in distributed setups...
* 3865 oracle_sessions: now relative levels for sessions are configurable...
+ * 3647 check_http: Improved rendering of the extended performance data
* 3073 FIX: windows agent: relative paths to mrpe scripts are now treated as relative
to the agent installation directory...
* 3061 FIX: mk_jolokia: Fixed debugging of the agent plugin
* 3074 FIX: windows agent: fixed incorrect values for 32-bit performance counters
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index acec30c..bc810a1 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -2846,6 +2846,36 @@ metric_info["http_bandwidth"] = {
"color" : "53/b",
}
+metric_info["time_connect"] = {
+ "title" : _("Time to connect"),
+ "unit" : "s",
+ "color" : "11/a",
+}
+
+metric_info["time_ssl"] = {
+ "title" : _("Time to negotiate SSL"),
+ "unit" : "s",
+ "color" : "13/a",
+}
+
+metric_info["time_headers"] = {
+ "title" : _("Time to send request"),
+ "unit" : "s",
+ "color" : "15/a",
+}
+
+metric_info["time_firstbyte"] = {
+ "title" : _("Time to receive start of response"),
+ "unit" : "s",
+ "color" : "26/a",
+}
+
+metric_info["time_transfer"] = {
+ "title" : _("Time to receive full response"),
+ "unit" : "s",
+ "color" : "41/a",
+}
+
for volume_info in [ "NFS", "NFSv4", "CIFS",
"SAN", "FCP", "ISCSI" ]:
for what, unit in [ ("data", "bytes"), ("latency",
"s"), ("ios", "1/s") ]:
@@ -7169,3 +7199,16 @@ graph_info.append({
( "connections_duration_mean", "line" ),
]
})
+
+graph_info.append({
+ "title" : _("HTTP Timings"),
+ "metrics" : [
+ ( "time_connect", "area", _("Connect") ),
+ ( "time_ssl", "stack", _("Negotiate SSL") ),
+ ( "time_headers", "stack", _("Send request") ),
+ ( "time_transfer", "stack", _("Receive full
response") ),
+ ( "time_firstbyte", "line", _("Receive start of
response") ),
+ ( "response_time", "line", _("Roundtrip") ),
+ ],
+ "optional_metrics" : [ "time_ssl" ],
+})