feat(alerting): enabled by default. configurable elert engine

closes #6210
This commit is contained in:
bergquist
2016-10-10 13:09:16 +02:00
parent 918481909c
commit 04f417a423
8 changed files with 16 additions and 19 deletions

View File

@ -145,7 +145,7 @@ var (
Quota QuotaSettings
// Alerting
AlertingEnabled bool
ExecuteAlerts bool
// logger
logger log.Logger
@ -555,7 +555,7 @@ func NewConfigContext(args *CommandLineArgs) error {
LdapAllowSignup = ldapSec.Key("allow_sign_up").MustBool(true)
alerting := Cfg.Section("alerting")
AlertingEnabled = alerting.Key("enabled").MustBool(false)
ExecuteAlerts = alerting.Key("execute_alerts").MustBool(true)
readSessionConfig()
readSmtpSettings()