[Nut-upsuser] battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error
Jon Bendtsen
jon.bendtsen at jonix.dk
Tue Apr 4 12:18:03 UTC 2017
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 at localhost ONBATT "%s: local UPS on battery"
> NOTIFYMSG bigups at server ONBATT "%s: Server room alert: UPS on battery"
>
> NOTIFYFLAG myups at localhost ONBATT SYSLOG+EXEC+WALL
> NOTIFYFLAG heartbeat at localhost ONBATT SYSLOG+EXEC
>
> 3. A <notify type> "ALARM" as you propose.
good ideas
JonB
More information about the Nut-upsuser
mailing list