themarketinglab/nagios-check-beanstalkd

Nagios plugin for checking a Beanstalk tube is being consumed

v1.0.7 2016-06-07 19:25 UTC

This package is auto-updated.

Last update: 2024-04-28 10:05:56 UTC


README

(Currently very basic) Nagios plugin to check health of beanstalk tubes.

Assumes that aged and buried jobs are a "bad thing" and that empty (NOT_FOUND) tubes are OK.

Usage

check_beanstalkd.php --host 127.0.0.1 \         # Default: 127.0.0.1
                     --port 11300 \             # Default: 11300
                     --tube SomeTube \          # Name of tube to monitor (required)
                     --warn-age 120 \           # Age in seconds of job at top of queue
                     --crit-age 240 \           # Defaults: 300 and 600
                     --warn-buried 10 \         # Number of buried jobs in tube
                     --crit-buried 20           # Defaults: 10 and 20