On 04/04/17 14.10, Roger Price wrote:
On Tue, 4 Apr 2017, Arnaud Quette wrote:
[cuuuuut]
Hi Arnaud, It seems to me that, looking out into the future, there are three things upsmon needs: 1. A fall-through <notify type> of "UNKNOWN" so that all status changes, no matter how wierd, can be caught. Such a catch-all <notify type> would also have caught the "ALARM" from the old battery. 2. A UPS specific option in the NOTIFYFLAG and NOTIFYMSG declarations as already provided by the AT declaration in upssched.conf. This would make it possible to have messages and action specific to a UPS, in a multi-UPS configuration. I would like to be able to specify NOTIFYMSG myups@localhost ONBATT "%s: local UPS on battery" NOTIFYMSG bigups@server ONBATT "%s: Server room alert: UPS on battery" NOTIFYFLAG myups@localhost ONBATT SYSLOG+EXEC+WALL NOTIFYFLAG heartbeat@localhost ONBATT SYSLOG+EXEC 3. A <notify type> "ALARM" as you propose.
good ideas JonB _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser