diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2021-05-24 14:42:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 14:42:49 +0300 |
commit | 2555dccae77ebe4ac132c13feca610be1dd26857 (patch) | |
tree | 1b8cb6ac8c4a4b19a1472258296b6421db1a6317 /health/health.d/web_log.conf | |
parent | dfc4915ffb73b5b12ce50bcf6c1981afa9928f0a (diff) |
health: add python.d/go.d jobs last_collected_secs alarms (#11168)
Diffstat (limited to 'health/health.d/web_log.conf')
-rw-r--r-- | health/health.d/web_log.conf | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/health/health.d/web_log.conf b/health/health.d/web_log.conf index c1237fa06d..2cad70d040 100644 --- a/health/health.d/web_log.conf +++ b/health/health.d/web_log.conf @@ -1,22 +1,4 @@ -# make sure we can collect web log data - - template: last_collected_secs - on: web_log.response_codes - class: Web Server -component: Web log - type: Latency - families: * - calc: $now - $last_collected_t - units: seconds ago - every: 10s - warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every)) - crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every)) - delay: down 5m multiplier 1.5 max 1h - info: number of seconds since the last successful data collection - to: webmaster - - # ----------------------------------------------------------------------------- # high level response code alarms @@ -231,23 +213,6 @@ component: Web log # ---------------------------------------------------GO-VERSION--------------------------------------------------------- -# make sure we can collect web log data - - template: web_log_last_collected_secs - on: web_log.requests - class: Web Server -component: Web log - type: Latency - families: * - calc: $now - $last_collected_t - units: seconds ago - every: 10s - warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every)) - crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every)) - delay: down 5m multiplier 1.5 max 1h - info: number of seconds since the last successful data collection - to: webmaster - # unmatched lines # the following alarms trigger only when there are enough data. |