Skip to main content

OOPS DateDir to AMQP republisher.

Project description

Copyright (c) 2011, Canonical Ltd

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <>.

The oops_datedir2amqp package provides a script that will retransmit OOPS reports ( stored in a datedir repo over amqp, cleaning up the repo as it goes.


  • Python 2.6+

  • oops_datedir_repo

  • oops_amqp

Testing Dependencies


Install the package in a virtualenv (or similar):

$ virtualenv oops-datedir2amqp
$ oops-datedir2amqp/bin/pip install oops-datedir2amqp

Run the script:

$ oops-datedir2amqp/bin/datedir2amqp \
  --host XX --username XX --password XX --vhost XX --exchange XX --repo XX

Note that the repo should be the same path you are supplying to your DateDirRepo in whatever process is creating OOPSes.

A common use for this setup is as a fallback: in your application report to AMQP directly, with a DateDirRepo configured as fallback, then use datedir2amqp to pickup and respool any OOPS reports that were generated while your AMQP server is unavailable.


Upstream development takes place at

To run the tests, use tox.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oops_datedir2amqp-0.1.0.tar.gz (3.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page