Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
Allow disabling of Grafana alerts (#115)
Browse files Browse the repository at this point in the history
[minor]
  • Loading branch information
dominik-bln authored and paulfantom committed Dec 4, 2018
1 parent 39e9843 commit 63659bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/grafana.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,13 @@ enabled = true
path = {{ grafana_data_dir }}/dashboards

# Alerting
{% if not grafana_alerting %}
[alerting]
{% if grafana_alerting %}
enabled = true
{% else %}
enabled = false
;execute_alerts = true
{% endif %}
;execute_alerts = true

# SMTP and email config
{% if grafana_smtp != {} %}
Expand Down

0 comments on commit 63659bb

Please sign in to comment.