[Nut-upsuser] Configuration tunning

Antoine Gatineau antoine.gatineau at alcatel-lucent.com
Fri Nov 6 14:36:32 UTC 2009

I didn't see pollfreq in the ups.conf man page or anywhere else. 
Where can I find a description of this parameter? What is the difference
between the two?

I only monitor one local server.  

-----Message d'origine-----
De :
nut-upsuser-bounces+antoine.gatineau=alcatel-lucent.com at lists.alioth.debian.
[mailto:nut-upsuser-bounces+antoine.gatineau=alcatel-lucent.com at lists.alioth
.debian.org] De la part de Arjen de Korte
Envoyé : vendredi 6 novembre 2009 14:41
À : nut-upsuser at lists.alioth.debian.org
Objet : Re: [Nut-upsuser] Configuration tunning

Citeren Antoine Gatineau <antoine.gatineau at alcatel-lucent.com>:

> You say that the is no relationship between pollinterval and other 
> parameters. Does that mean that if I configure pollinterval=60 and 
> POLLFREQ=30 there will be no error in upsmon?

The pollinterval parameter has no influence on the communication between
server and client, so this shouldn't be a problem. But rather than
increasing that, I would first increase the pollfreq (setting this lower
than pollinterval is pointless anyway). So in ups.conf

     driver = usbhid-ups
     port = auto
     pollinterval = 10
     pollfreq = 120

would be much safer. Increasing pollfreq dramatically reduces the number of
reports that are read from the UPS, while still allowing the essential ones
to be read more frequently.

Are you monitoring multiple UPS devices from the same system? If so, post
your ups.conf file here.

Best regards, Arjen

PS  Changing the value of POLLFREQ in upsmon.conf is an extremely bad idea.
Don't even consider this.
Please keep list traffic on the list

Nut-upsuser mailing list
Nut-upsuser at lists.alioth.debian.org

More information about the Nut-upsuser mailing list