themarketinglab / nagios-check-beanstalkd
Nagios plugin for checking a Beanstalk tube is being consumed
v1.0.7
2016-06-07 19:25 UTC
Requires
- php: >=5.5
- pda/pheanstalk: ~3.1.0
Requires (Dev)
- phpunit/phpunit: ~4.6.0
This package is auto-updated.
Last update: 2024-12-28 11:29:10 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