diff options
author | Chris <github.account@chrigel.net> | 2018-02-24 21:40:11 +0100 |
---|---|---|
committer | Chris <github.account@chrigel.net> | 2018-02-24 21:40:11 +0100 |
commit | a4327d68d09b03881faf546025bae727222209aa (patch) | |
tree | c8e944da15871e9daafb9fbf3dc1c897b4b90446 /web | |
parent | 77b204c6a7a64e275f69e55975d237e511608c05 (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.js | 8 |
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.' }, // ------------------------------------------------------------------------ |