0
0
Fork 0
mirror of https://github.com/alerta/alerta-contrib.git synced 2025-03-16 21:43:30 +00:00
alerta_alerta-contrib/pubsub/example
2015-01-26 12:07:36 +00:00
..
example-amqp.py add example pubsub daemons 2015-01-26 11:48:57 +00:00
example-sqs.py add example pubsub daemons 2015-01-26 11:48:57 +00:00
README.md remove listeners sub-dir 2015-01-26 12:07:36 +00:00

Listeners

AMQP

To use these programs the amqp plug-in must been installed and configured in the alerta server.

Alerts received by the server will then be forwarded to the defined AMQP queue after they have been processed for updating to the database.

Amazon SQS

To run the example:

  1. Create an SNS Topic called "notify" and ensure the sns plug-in is listed in the enabled PLUGINS in the alertad configuration file.

  2. Then create an SQS Queue called example and subscribe it to the SNS topic notify.

  3. Ensure AWS access and secret keys for both alertad and this example script are configured.

!! Tip: Subscribe an email address to the notify topic to verify, via email, that alerts are being sent to the topic.