GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Nagios::Plugin::Beanstalk(3) User Contributed Perl Documentation Nagios::Plugin::Beanstalk(3)

Nagios::Plugin::Beanstalk - Nagios plugin to observe Beanstalkd queue server.

  use Nagios::Plugin::Beanstalk;

  my $np = Nagios::Plugin::Beanstalk->new;
  $np->run;

Please setup your nagios config.

  ### check response time(msec) for Beanstalk
  define command {
    command_name    check_beanstalkd
    command_line    /usr/bin/check_beanstalkd -H $HOSTADDRESS$ -w 15 -c 60
  }

This plugin can execute with all threshold options together.

  Usage: check_beanstalkd -H <host> [-p <port>] [-t <tube>] [-w <warn_time>] [-c <crit_time>]

  Options:
   -h, --help
      Print detailed help screen
   -V, --version
      Print version information
   -H, --hostname=ADDRESS
      Host name, IP Address, or unix socket (must be an absolute path)
   -p, --port=INTEGER
      Port number (default: 389)
   -a [--active]
      Check active worker count instead of job age
   -t [--tube]
      Tube name to watch, can be multiple. 
   -w, --warning=DOUBLE
      Response time to result in warning status (seconds), or min worker count
   -c, --critical=DOUBLE
      Response time to result in critical status (seconds), or min worker count
   -v, --verbose
      Show details for command-line debugging (Nagios may truncate output)

create instance.

run checks.

The argument passed to "--tube" may be a tube name or a tube pattern if prefixed with ~. Patterns are applied to the list of tubes that currently exist on the server

Matching tubes are removed from the list if the argument is prefixed with !

"--tube" parameters are processed in order. If the first "--tube" parameter starts with "!" then the initial list of tubes to check is all the tubes that currently exist on the server. If the first "--tube" parameter does not start with "!" then the initial list is empty.

If no "--tube" parameters are given then all existing tubes are checked

--tube foo
Only check tube foo
--tube !foo
Check all tubes except the tube foo
--tube ~foo
Check all tubes that match the pattern /foo/
--tube !~foo
Check all tubes except those that match the pattern /foo/
--tube ~foo --tube !foobar
Check all tubes that match the pattern /foo/, except foobar
--tube !~foo --tube foobar
Check all tubes except those that match the pattern /foo/, but also check foobar

Graham Barr "<gbarr@pobox.com>"

Copyright 2008 Graham Barr

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2009-03-19 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.