diff options
author | Fotis Voutsas <fjvoutsas@gmail.com> | 2020-12-03 17:33:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 17:33:04 +0200 |
commit | 04dbf7039e16a174983917f2d01e45d9b0daf98f (patch) | |
tree | ec739db3578bb4ac52b5ac29ac007794151d6e25 /health | |
parent | fae19246df3c8768c8207372d46828a9afe788d4 (diff) |
File descr alarm v01 (#10192)
Diffstat (limited to 'health')
-rw-r--r-- | health/Makefile.am | 1 | ||||
-rw-r--r-- | health/health.d/apps_plugin.conf | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/health/Makefile.am b/health/Makefile.am index 0802dc750f..399d6df5ab 100644 --- a/health/Makefile.am +++ b/health/Makefile.am @@ -29,6 +29,7 @@ dist_healthconfig_DATA = \ health.d/anomalies.conf \ health.d/apache.conf \ health.d/apcupsd.conf \ + health.d/apps_plugin.conf \ health.d/backend.conf \ health.d/bcache.conf \ health.d/beanstalkd.conf \ diff --git a/health/health.d/apps_plugin.conf b/health/health.d/apps_plugin.conf new file mode 100644 index 0000000000..d3670f1c9d --- /dev/null +++ b/health/health.d/apps_plugin.conf @@ -0,0 +1,13 @@ +# you can disable an alarm notification by setting the 'to' line to: silent + + alarm: used_file_descriptors + on: apps.files + hosts: * + calc: $fdperc + units: % + every: 5s + warn: $this > (($status >= $WARNING) ? (75) : (80)) + crit: $this > (($status == $CRITICAL) ? (85) : (90)) + delay: down 5m multiplier 1.5 max 1h + info: Peak percentage of file descriptors used + to: sysadmin |