summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/gearman.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/gearman.conf')
-rw-r--r--src/health/health.d/gearman.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/health/health.d/gearman.conf b/src/health/health.d/gearman.conf
new file mode 100644
index 000000000..2b19105b5
--- /dev/null
+++ b/src/health/health.d/gearman.conf
@@ -0,0 +1,15 @@
+# you can disable an alarm notification by setting the 'to' line to: silent
+
+# template: gearman_function_waiting_jobs
+# on: gearman.function_queued_jobs_activity
+# class: Latency
+# type: Computing
+#component: Gearman
+# lookup: average -10m unaligned of waiting
+# units: jobs
+# every: 10s
+# warn: $this > 30000
+# delay: down 5m multiplier 1.5 max 1h
+# summary: Waiting jobs for ${label:task_name} function
+# info: Average number of waiting jobs for ${label:function_name} function over the last 10 minutes
+# to: sysadmin