diff options
author | Ilya <ilyamaschenko@gmail.com> | 2017-06-12 13:57:00 +0900 |
---|---|---|
committer | Ilya <ilyamaschenko@gmail.com> | 2017-06-12 13:57:00 +0900 |
commit | 69850a9b7c07e75d17d6f580754584b7438ef77d (patch) | |
tree | 0d0f1d2e68d5ff7c0813b0d373240fe9ac3950e5 /conf.d/health.d | |
parent | 365417086e659820570e89c93439b1dc96b05860 (diff) |
apache plugin: alarm for lighttpd added
Diffstat (limited to 'conf.d/health.d')
-rw-r--r-- | conf.d/health.d/lighttpd.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/conf.d/health.d/lighttpd.conf b/conf.d/health.d/lighttpd.conf new file mode 100644 index 0000000000..915907a4ab --- /dev/null +++ b/conf.d/health.d/lighttpd.conf @@ -0,0 +1,14 @@ + +# make sure lighttpd is running + +template: lighttpd_last_collected_secs + on: lighttpd.requests + 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 + |