[Nut-upsuser] The name HOSTSYNC is confusing. Can we do better?

Roger Price roger at rogerprice.org
Thu Jan 20 14:04:27 GMT 2022


On Wed, 19 Jan 2022, Phil Stracchino via Nut-upsuser wrote:

> On 1/19/22 06:10, Roger Price wrote:
>> The man page for upsmon.conf explains the HOSTSYNC directive:
>> 
>> The explanation is clear. but the name "HOSTSYNC" is not.  It seems to me 
>> that if the directive is to provide a maximum time that the primary should 
>> wait for secondaries to shut down, then it would be better if it were called 
>> MAXWAITTIME.

> Good call IMO.

Perhaps MAXWAITTIME is itself not too good.  It doesn't make it clear that the 
subject of the waiting is the secondaries.  Perhaps MAXWAITSCNDRY or 
SCNDRYMAXWAIT.  Cumbersome, but closer to the subject.

Roger



More information about the Nut-upsuser mailing list