mirror of
https://github.com/alerta/alerta-contrib.git
synced 2025-03-16 21:43:30 +00:00
.. | ||
example-amqp.py | ||
example-sqs.py | ||
README.md |
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:
-
Create an SNS Topic called "notify" and ensure the
sns
plug-in is listed in the enabledPLUGINS
in thealertad
configuration file. -
Then create an SQS Queue called
example
and subscribe it to the SNS topicnotify
. -
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.