1008

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.

  1. Connect to NAbox as admin with SSH
  2. sudo vi /etc/nabox/.env
  3. Remove lines declaring GF_ALERTING_ENABLED and GF_UNIFIED_ALERTING_EXECUTE_ALERTS
  4. Save and quit file
  5. 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.