Charles Lepple
2021-Feb-12 03:07 UTC
[Nut-upsuser] Why do ondelay and offdelay parameters break the NUT driver?
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".
Shilov
2021-Feb-12 18:25 UTC
[Nut-upsuser] Why do ondelay and offdelay parameters break the NUT driver?
On Thu, 11 Feb 2021 22:07:19 -0500 Charles Lepple <clepple at gmail.com> wrote:> 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.htmlOk, what needs to be done to make this parameter fit for this driver? Best regards, -- nut-user <shilov at extmail.info>