Using Grafana AlertManager
Summary
This KB documents an issue when trying to use Grafana built-in alerting in versions of NABox since 4.1.1 until 4.2.0
NAbox since versions 4.1.1 until 4.2.0 disable Grafana alerting with
GF_ALERTING_ENABLED and GF_UNIFIED_ALERTING_EXECUTE_ALERTS environment
variables.
If you want to use Grafana built in alerting, you can edit /etc/nabox/.env
and remove the lines setting these variables.
- Connect to NAbox as
adminwith SSH sudo vi /etc/nabox/.env- Remove lines declaring
GF_ALERTING_ENABLEDandGF_UNIFIED_ALERTING_EXECUTE_ALERTS - Save and quit file
- Restart services using
systemctl restart nabox
Services will restart and alerting should be operational in NAbox.
Note that SMTP settings configured in NAbox preferences are configured for Grafana, you don't have to provide configuration twice.