Skip to content

Unable to get queue length for queues not in us-east-1 #11

Description

@derektamsen

The munin plugin tracebacks when trying to query the queue length for message queues outside the default region of us-east-1.

$ sudo munin-run aws_sqs_queue_length_test-queue-us-west-2
Traceback (most recent call last):
  File "/etc/munin/plugins/aws_sqs_queue_length_sg-test-queue", line 45, in <module>
    AWSSQSQueueLengthPlugin().run()
  File "/usr/lib/python2.6/site-packages/munin/__init__.py", line 50, in run
    values = self.execute()
  File "/etc/munin/plugins/aws_sqs_queue_length_sg-test-queue", line 41, in execute
    for qname in self.queues
  File "/etc/munin/plugins/aws_sqs_queue_length_sg-test-queue", line 41, in <genexpr>
    for qname in self.queues
AttributeError: 'NoneType' object has no attribute 'get_queue'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions