summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChris <github.account@chrigel.net>2018-02-24 20:52:11 +0100
committerChris <github.account@chrigel.net>2018-02-24 20:52:11 +0100
commitc2c4d81d13458beb6f70c4767ef1096176b73b5f (patch)
treec516305f5944a54584378054597ca3897cf8270c /web
parentb30a02ef806726296cb9278d50ebb83d1dd99ffe (diff)
Rewritten httpcheck plugin. each error has now its own dimension, which simplifies future alarms.
Diffstat (limited to 'web')
-rw-r--r--web/dashboard_info.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/web/dashboard_info.js b/web/dashboard_info.js
index e629d45622..4b5f6e04bd 100644
--- a/web/dashboard_info.js
+++ b/web/dashboard_info.js
@@ -1142,11 +1142,10 @@ netdataDashboard.context = {
},
'httpcheck.error': {
- valueRange: "[0, 3]",
- info: 'The <code>Error</code> is returned by the plugin when it could not connect to the webserver. It is one of: ' +
- '<code>0</code> (connection successful), <code>3</code> (unexpected response content), <code>5</code> (unexpected status code), ' +
- '<code>10</code> (port unreachable), <code>15</code> (host unreachable). ' +
- 'The higher the error code, the "more severe" it is. The error code is most useful for 3rd-party apps and alarms.'
+ valueRange: "[0, 1]",
+ info: 'The <code>error</code> codes are returned by the plugin when it could verify the availability of the webserver. ' +
+ 'Each error dimension will have a value of <code>1</code> if triggered. Dimension <code>success</code> is always <code>1</code> on successful requests.' +
+ 'This chart is most useful for alarms or third-party apps.'
},
// ------------------------------------------------------------------------