alerta / alerta-contrib

Contributed integrations, plugins and custom webhooks
http://alerta.io
MIT License
119 stars 170 forks source link

Compatibility alerta-mailer with postgresql #370

Closed danielelopez1 closed 2 years ago

danielelopez1 commented 2 years ago

Is your feature request related to a problem? Please describe. Alerta is compliant with postgresql but the alerta-mailer plugin is not. Is there a way to make it compatible?

Describe the solution you'd like make the alerta-mailer plugin compatible with postgresql

Additional context I'm using latest version of alerta (8.5.0) and last plugin version

lpolloni commented 2 years ago

This is not a plugin but an integration, i am using postgresql as database and I have the same problem.

satterly commented 2 years ago

mailer requires an AMQP-compatible message transport. MongoDB supports this, and Postgres doesn't. If you use Postgres as your backend for Alerta API then you will need to run another service to provide the AMQP message transport required by mailer. See the README for kombu for a list of supported transports ...

Screenshot 2021-11-09 at 23 35 21

https://github.com/celery/kombu#transport-comparison