[Nut-upsuser] What is the purpose of the upsmon setting in upsd.users?

Charles Lepple clepple at gmail.com
Fri Jun 24 12:29:16 UTC 2016


On Jun 23, 2016, at 10:28 PM, André Hänsel wrote:
> 
> On Donnerstag, 23. Juni 2016 14:14, Charles Lepple wrote:
> 
>> The "upsmon slave" setting should not prevent clients from connecting. Can
>> you provide more details about the system? If this is a distributor-provided
>> package, did they link against TCP-wrappers (using /etc/hosts.deny)?
>> 
> It's the Debian (Raspbian) jessie package.

Looks like it is:

https://packages.debian.org/jessie/nut-server
> 
> Anyway, I'm sorry, I just saw that I had it set to "master" in usbmon.conf.
> Only then the user has to have "upsmon master" set.
> 
> However, that made me curious: Is there any situation where I would add a
> remote (not @localhost) UPS in my upsmon.conf with "master" instead of
> "slave"?

I'm not sure, but given that the master upsd waits for all of the slaves to shutdown or time out, I guess it comes down to which server is more reliable. You would also need to consider the network link between the master and the server running upsd, which was assumed to be the loopback interface in the original NUT design.

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list