summaryrefslogtreecommitdiffstats
path: root/health/health.d/beanstalkd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/beanstalkd.conf')
-rw-r--r--health/health.d/beanstalkd.conf27
1 files changed, 15 insertions, 12 deletions
diff --git a/health/health.d/beanstalkd.conf b/health/health.d/beanstalkd.conf
index 0c428ecbc..99c754571 100644
--- a/health/health.d/beanstalkd.conf
+++ b/health/health.d/beanstalkd.conf
@@ -1,17 +1,20 @@
# get the number of buried jobs in all queues
-template: beanstalk_server_buried_jobs
- on: beanstalk.current_jobs
- calc: $buried
- units: jobs
- every: 10s
- warn: $this > 0
- crit: $this > 10
- delay: up 0 down 5m multiplier 1.2 max 1h
- info: number of buried jobs across all tubes. \
- You need to manually kick them so they can be processed. \
- Presence of buried jobs in a tube does not affect new jobs.
- to: sysadmin
+ template: beanstalk_server_buried_jobs
+ on: beanstalk.current_jobs
+ class: Messaging
+component: Beanstalk
+ type: Workload
+ calc: $buried
+ units: jobs
+ every: 10s
+ warn: $this > 0
+ crit: $this > 10
+ delay: up 0 down 5m multiplier 1.2 max 1h
+ info: number of buried jobs across all tubes. \
+ You need to manually kick them so they can be processed. \
+ Presence of buried jobs in a tube does not affect new jobs.
+ to: sysadmin
# get the number of buried jobs per queue