summaryrefslogtreecommitdiffstats
path: root/health/health.d/beanstalkd.conf
blob: 30dc27328ecb933ea67fb53ba47267c339b165f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# get the number of buried jobs in all queues

template: 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: the number of buried jobs aggregated across all tubes
      to: sysadmin
      
# get the number of buried jobs per queue

#template: tube_buried_jobs
#      on: beanstalk.jobs
#    calc: $buried
#   units: jobs
#   every: 10s
#    warn: $this > 0
#    crit: $this > 10
#   delay: up 0 down 5m multiplier 1.2 max 1h
#    info: the number of jobs buried per tube
#      to: sysadmin

# get the current number of tubes

#template: number_of_tubes
#      on: beanstalk.current_tubes
#    calc: $tubes
#   every: 10s
#    warn: $this < 5
#   delay: up 0 down 5m multiplier 1.2 max 1h
#    info: the current number of tubes on the server
#      to: sysadmin