- Install plugin inside docker container or by adding above command in dockerfile.
pip install git+https://github.com/lemondemon/alerta-rest-plugin
- Enable plugin in
/etc/alertad.conf
.
PLUGINS = ['rest']
- Set plugin-specific variables either in the server configuration file or as environment variables.
POSTBACK_URL=
POSTBACK_AUTH_CODE=