[Nut-upsuser] Nut-upsuser Digest, Vol 231, Issue 2
Roger Price
roger at rogerprice.org
Sat Sep 7 16:16:40 BST 2024
On Sat, 7 Sep 2024, Mega DooOooM via Nut-upsuser wrote:
> and this is UPSMON.CONF lines
>
> # This file is auto-generated by openmediavault (https://www.openmediavault.org)
> # WARNING: Do not edit this file, your changes will get lost.
> MONITOR back-ups 1 monmaster 4L[p9<0Vi|Z>xKgK master
> MINSUPPLIES 1
> SHUTDOWNCMD "/sbin/shutdown -h +0"
> NOTIFYCMD "/sbin/upssched"
> POLLFREQ 5
> POLLFREQALERT 5
> HOSTSYNC 15
> DEADTIME 555
> POWERDOWNFLAG /etc/killpower
> NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
> NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
> NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
> NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC
> NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC
> NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC
> NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC
> NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC
> NOTIFYFLAG FSD SYSLOG+WALL+EXEC
> RBWARNTIME 43200
> NOCOMMWARNTIME 300
> FINALDELAY 5
The EXEC flag with the NOTIFYFLAG says that when a NOTIFY event occurs, upsmon
calls the program identified by NOTIFYCMD "/sbin/upssched". Does this program
have a configuration file? Perhaps upssched.conf. Could we see it?
Roger
PS - You dont have to repeat all the previous messages in the Digest.
More information about the Nut-upsuser
mailing list