[...]

> Also your comment "(so the driver only polls the UPS)" - does this
> mean the UPS will not be able to notify NUT of a power failure as it
> occurs, but we'll pick it up next time NUT polls?

As Arnaud already answered, yes. You may want to reduce the interval
between polls by setting 'pollfreq = 10' in ups.conf, to lower this from
the default 30 seconds, so that variables will be updated more frequently.
Don't overdo this however, you don't want to beat the UPS to death with
polling requests. You may get away with 'pollfreq = 5'.

Should we make this a default, Arnaud?

#if SUN_LIBUSB
#define DEFAULT_POLLFREQ        10      /* Polling interval, in seconds */
                                        /* The driver will do "light */
                                        /* poll" between full polls */
#else
#define DEFAULT_POLLFREQ        30      /* Polling interval, in seconds */
                                        /* The driver will wait for Interrupt */
                                        /* and do "light poll" in the meantime 
*/
#endif

Best regards, Arjen
-- 
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B  7A FE 7E C1 EE 88 BC 57


_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to