summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2017-02-25 14:03:08 +0200
committerGitHub <noreply@github.com>2017-02-25 14:03:08 +0200
commitbed9d887b5eaf9227b50f90b61449b7821c3dd18 (patch)
treee7842f84c79dd6dc77cfc4f78af33be7aac67f37 /conf.d
parent27ef89eccffa5d3aef8b8cdba30fb8b39d059a3c (diff)
parentb8594908ce6970e8f42a5b3de5d02c7873bbc05d (diff)
Merge pull request #1840 from ktsaou/master
set up-delay on web alarms;
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/health.d/web_log.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf.d/health.d/web_log.conf b/conf.d/health.d/web_log.conf
index fdcdeaa16e..c668959f51 100644
--- a/conf.d/health.d/web_log.conf
+++ b/conf.d/health.d/web_log.conf
@@ -42,7 +42,7 @@ families: *
every: 10s
warn: ($1m_requests > 120) ? ($this < (($status >= $WARNING ) ? ( 95 ) : ( 85 )) ) : ( 0 )
crit: ($1m_requests > 120) ? ($this < (($status == $CRITICAL) ? ( 85 ) : ( 75 )) ) : ( 0 )
- delay: down 15m multiplier 1.5 max 1h
+ delay: up 2m down 15m multiplier 1.5 max 1h
info: the ratio of successful HTTP responses (1xx, 2xx, 304) over the last minute
to: webmaster
@@ -55,7 +55,7 @@ families: *
every: 10s
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING ) ? ( 1 ) : ( 20 )) ) : ( 0 )
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 20 ) : ( 30 )) ) : ( 0 )
- delay: down 15m multiplier 1.5 max 1h
+ delay: up 2m down 15m multiplier 1.5 max 1h
info: the ratio of HTTP redirects (3xx except 304) over the last minute
to: webmaster
@@ -68,7 +68,7 @@ families: *
every: 10s
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 10 ) : ( 30 )) ) : ( 0 )
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 30 ) : ( 50 )) ) : ( 0 )
- delay: down 15m multiplier 1.5 max 1h
+ delay: up 2m down 15m multiplier 1.5 max 1h
info: the ratio of HTTP bad requests (4xx) over the last minute
to: webmaster
@@ -81,7 +81,7 @@ families: *
every: 10s
warn: ($1m_requests > 120) ? ($this > (($status >= $WARNING) ? ( 1 ) : ( 2 )) ) : ( 0 )
crit: ($1m_requests > 120) ? ($this > (($status == $CRITICAL) ? ( 2 ) : ( 5 )) ) : ( 0 )
- delay: down 15m multiplier 1.5 max 1h
+ delay: up 2m down 15m multiplier 1.5 max 1h
info: the ratio of HTTP internal server errors (5xx), over the last minute
to: webmaster