#Change snapmirror lag time in alert rules?

1 messages · Page 1 of 1 (latest)

ancient sapphire
#

We have added and enabled the email option in nabox, this triggers a lof of alerts from the system mainly because the snapmirror lag limit is set at 3600 secs... (and we only update once a day) I can see the rule, but I am not sure how to alter it?

rotund venture
#

I believe nabox puts that file on the following path /data/packages/harvest/container/prometheus/alert_rules.yml
you should be able to sudo vim /data/packages/harvest/container/prometheus/alert_rules.yml and change the value. Then dc down followed by dc up -d

ancient sapphire
#

Yes I aldo found this, and I just rebooted the nabox... but it would be great if this could be altered inside grafana (or nabox)...

rotund venture
#

I understand. Pinging @proud moth for visibility