Skip to content

Alerta juju charm provides Alerta service with web UI.

License

Notifications You must be signed in to change notification settings

huntdatacenter/alerta-charm

Repository files navigation

Alerta Charm

GitHub Action CI badge License: MIT

Alerta accepts alerts from the standard sources like Syslog, SNMP, Prometheus, Nagios, Zabbix, Sensu and netdata. Any monitoring tool that can trigger a URL request can be integrated easily. Anything that can be scripted can also send alerts using the command-line tool. There is already a Python SDK and other SDKs are in the pipeline.

Usage

This charm does not require relations, because so far there is no support in grafana, or nagios charms, therefore it can be deployed separately and then configured manually with any of supported sources:

juju deploy cs:~huntdatacenter/alerta

Charm provides http relation for the web UI which can be related to nginx or haproxy:

juju deploy juju deploy cs:haproxy haproxy-alerta
juju add-relation haproxy-alerta alerta

Once alerta is deployed authentication is enforced, and signup of new users is disabled. Alerta generated admin account and admin credentials can be retrieved over juju:

juju run-action alerta/0 --wait get-admin-login

Development

Here are some helpful commands to get started with development and testing:

$ make help
lint                  Run linter
build                 Build charm
deploy                Deploy charm
upgrade               Upgrade charm
force-upgrade         Force upgrade charm
deploy-xenial-bundle  Deploy Xenial test bundle
deploy-bionic-bundle  Deploy Bionic test bundle
test-bundle           Test deployed bundle with jujuna
push                  Push charm to stable channel
clean                 Clean .tox and build
help                  Show this help

Links

About

Alerta juju charm provides Alerta service with web UI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published