[Nut-upsuser] [UPS on Serial vs. USB] USB slow to update,
Peter Selinger
selinger at mathstat.dal.ca
Sat Jan 27 17:14:28 CET 2007
If you are using newhidups/usbhid-ups, the option "-x pollfreq=<value>"
can be used to set the polling frequency (or put "pollfreq=<value>"
into ups.conf). The default is 30 seconds.
-- Peter
Justin Piszcz wrote:
>
> When I disconnect my UPS from the wall, I have to wait 15-30 seconds
> before the USB drier 'polls' this information and tells me that the UPS is
> on battery power (via knutclient or syslog via nut):
>
> ups at p34 POWER ALERT on Fri Jan 26 12:49:29 EST 2007
>
> With a serial connection, I would get the alerts IMMEDIATELY (0.5-1
> seconds) after disconnecting the UPS. My new machine does not have a
> serial port built-in, only a serial header, and of course does not come
> with an included cable, so I chose to use USB.
>
> My question is, how do I change the polling time that nut uses to poll the
> device to match that of the serial port?
>
> The reason I'd like to is I am not going to see any power alerts for
> unless there is a power outage for longer than 15-30 seconds.
>
> I've checked the FAQ on this, do I have to change the 'MAXAGE' parameter
> to force more frequent updates?
>
> Justin.
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>
More information about the Nut-upsuser
mailing list