summaryrefslogtreecommitdiffstats
path: root/health/health.d/gearman.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/gearman.conf')
-rw-r--r--health/health.d/gearman.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/health/health.d/gearman.conf b/health/health.d/gearman.conf
new file mode 100644
index 0000000..14010d4
--- /dev/null
+++ b/health/health.d/gearman.conf
@@ -0,0 +1,14 @@
+
+ template: gearman_workers_queued
+ on: gearman.single_job
+ class: Latency
+ type: Computing
+component: Gearman
+ lookup: average -10m unaligned match-names of Pending
+ units: workers
+ every: 10s
+ warn: $this > 30000
+ crit: $this > 100000
+ delay: down 5m multiplier 1.5 max 1h
+ info: average number of queued jobs over the last 10 minutes
+ to: sysadmin