summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChris <github.account@chrigel.net>2018-02-24 21:40:11 +0100
committerChris <github.account@chrigel.net>2018-02-24 21:40:11 +0100
commita4327d68d09b03881faf546025bae727222209aa (patch)
treec8e944da15871e9daafb9fbf3dc1c897b4b90446 /web
parent77b204c6a7a64e275f69e55975d237e511608c05 (diff)
Rewrite of portcheck plugin. Each error code has its own dimension, which simplifies alarms.
Diffstat (limited to 'web')
-rw-r--r--web/dashboard_info.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/dashboard_info.js b/web/dashboard_info.js
index e79a9ed86d..9651609bcd 100644
--- a/web/dashboard_info.js
+++ b/web/dashboard_info.js
@@ -1733,10 +1733,10 @@ netdataDashboard.context = {
},
'portcheck.error': {
- valueRange: "[0, 3]",
- info: 'The <code>Error</code> is returned by the plugin when it could not connect to the host/port. It is one of: ' +
- '<code>0</code> (connection successful), <code>5</code> (port closed), <code>10</code> (host or port timeout), <code>15</code> (hostname lookup failed). ' +
- '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 service. ' +
+ 'Each error dimension will have a value of <code>1</code> if triggered. Dimension <code>success</code> is always <code>1</code> on successful connects.' +
+ 'The error code is most useful for alarms and third-party apps.'
},
// ------------------------------------------------------------------------