[Nut-upsuser] upsd/upsc, LISTEN and hostname resolution in master/slave

2017-03-28 Thread Spike
Hi, I've been setting up a few Eatons 1500 USB in master/slave mode and run into what I'm thinking is a hostname resolution problem. Basically, to avoid hardcoding ips, I'd love to be able to add a LISTEN on the lan's ip which has hostname, let's say, server1.local . If I set up upsd.conf such a

Re: [Nut-upsuser] Eaton 1500 USB constant disconnections

2017-03-28 Thread Spike
Arno, thanks for taking the time to write back and no worries about lag, we're all busy and I'm grateful there is a community to interact with to begin with. You're right - the problem went away once I actually configured nut. I guess I was too "cautious" and when I saw the errors I thought someth

Re: [Nut-upsuser] Is a timer a file?

2017-03-28 Thread Roger Price
Hi Arnaud, On Wed, 22 Mar 2017, Arnaud Quette wrote: The technique is very general and is to send SIGUSR1/SIGUSR2 to the upsd daemon.  SIGUSR1 and SIGUSR2 are events just like ONBATT and ONLINE. The patch runs successfully on my opensuse 13.2 box, and solves my problem. In upssche

Re: [Nut-upsuser] Eaton 1500 USB constant disconnections

2017-03-28 Thread Arnaud Quette
2017-03-11 4:55 GMT+01:00 Spike : > Hi, > Hi Spike, sorry for the lag in answering, I was collecting the needed information. I have a eaton 1500 that connects to an Ubuntu Xenial box via USB. The UPS > works, however exactly *ever 5 minutes* it disconnects and reconnects and I > see this in sys