| 1 | # you can disable an alarm notification by setting the 'to' line to: silent |
| 2 | |
| 3 | # template: gearman_function_waiting_jobs |
| 4 | # on: gearman.function_queued_jobs_activity |
| 5 | # class: Latency |
| 6 | # type: Computing |
| 7 | #component: Gearman |
| 8 | # lookup: average -10m unaligned of waiting |
| 9 | # units: jobs |
| 10 | # every: 10s |
| 11 | # warn: $this > 30000 |
| 12 | # delay: down 5m multiplier 1.5 max 1h |
| 13 | # summary: Waiting jobs for ${label:task_name} function |
| 14 | # info: Average number of waiting jobs for ${label:function_name} function over the last 10 minutes |
| 15 | # to: sysadmin |