sqsmonitor

Monitor size/drain rate of SQS queues

npm install sqsmonitor
14 downloads in the last week
28 downloads in the last month

sqsmonitor

sqsmonitor is used to check on the status of SQS queues.

Usage:
  sqsmonitor [options] queuename [queuename ...] [interval]

Parameters:
  queuename [queuename ...]
    The names of one or more queues to watch.  If not specified, defaults to process_actions.
  interval
    Specified for continuous display: seconds between checks.

Options:
  -e|--extra 
    Display extra metrics like inflight and delayed messages.

  -n|--nonzero
    Only show queues with messages

  -a|--all
    Check all queues

  -s|--sum
    Only show sum totals, not individual queues

  -t|--top n
    Only show the largest n queues.

  -r|--regexp
    Interpret queuenames as regular expressions instead of explicit names.

Examples:
  sqsmonitor
  sqsmonitor -a -n
  sqsmonitor -e prod_process_actions-opens 1
  sqsmonitor prod_process_actions-opens prod_process_actions-installs 60
  sqsmonitor -r 'process_.*_actions' -t 3

Queues are listed by number of messages they hold, fullest queue first.

Install from repo

Once you have this repository checked out, do:

npm link

You'll want a ~/.sqsmonitor JSON config file, which looks like this:

{ 
  "accessKeyId": "AKIABFOJHE19JDLS4G3A",
  "secretAccessKey": "J29OoH8JlsCdowF+jLSKU2/Hos8VJsl2jslkh22L",
  "region": "us-west-1"
}

sqsmonitor can also use a ~/.s3cmd configuration file if you've got one.

npm loves you