ShoGinn Posted March 27, 2019 Share Posted March 27, 2019 My UPS does a test automatically. This generates a notification. I would like the ability to delay notifications for UPS for a set period of time. That way if it goes down and goes up (test) you will not get notified. Quote Link to comment
Saldash Posted April 6, 2019 Share Posted April 6, 2019 (edited) Would you never want to be notified of genuine short outages or just alert if they last longer than a set period? Perhaps if there was a weekly / monthly digest of un-alerted notifications? EDIT: I suppose if you have Grafana in play, you could use its reporting services? Edited April 6, 2019 by Saldash Quote Link to comment
ShoGinn Posted April 6, 2019 Author Share Posted April 6, 2019 (edited) I think that it is feasible. APCUPSD has an ONBATTERYDELAY config that I had set to 25 on my last setup. Edited April 6, 2019 by ShoGinn Quote Link to comment
ShoGinn Posted April 6, 2019 Author Share Posted April 6, 2019 my solution until the dynamic.apcupsd plugin is updated it this: add the following to my /boot/config/go sed -i -e '/^ONBATTERYDELAY/c\\ONBATTERYDELAY '"25"'' /etc/apcupsd/apcupsd.conf /etc/rc.d/rc.apcupsd restart Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.