[Nut-upsuser] Why do ondelay and offdelay parameters break the NUT driver?
Charles Lepple
clepple at gmail.com
Fri Feb 12 03:07:19 GMT 2021
On Feb 11, 2021, at 10:45 AM, Shilov via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> wrote:
>
> └─557 /lib/nut/powercom -a myserver
>
...
> фев 11 17:23:48 myserver upsdrvctl[531]: Network UPS Tools - PowerCom protocol UPS driver 0.17 (2.7.4)
> фев 11 17:23:48 myserver upsdrvctl[531]: Fatal error: 'ondelay' is not a valid variable name for this driver.
> фев 11 17:23:48 myserver upsdrvctl[531]: Look in the man page or call this driver with -h for a list of
> фев 11 17:23:48 myserver upsdrvctl[531]: valid variable names and flags.
As the message says, "ondelay" is not a valid option for that particular driver:
https://networkupstools.org/docs/man/powercom.html
There seems to be a strange syntax for the equivalent of "offdelay" - search for "shutdownArguments".
More information about the Nut-upsuser
mailing list