Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce synchronous=auto as new default value for the driver setting #1315

Merged
merged 23 commits into from Feb 25, 2022

Conversation

jimklimov
Copy link
Member

Closes: #1309

Also
Closes: #1314 (to not snmpwalk an "unitary" device twice)

Some commits picked from #320

While the issue was discovered with snmp-ups driver, the problem after analysis seems to generally impact drivers with many data points, depending on performance and competing workload of the machines running the drivers and data server. I suspect this may be why reports with particularly Raspberry Pi, especially of older revisions, were prominent in the recent years of issue tracking.

jimklimov and others added 21 commits February 22, 2022 18:51
…ainloop(): trace connection faults and reconnections better
…vice.0" when in daisy-chain context (skip anyway even for singular devices where we should also walk .1 anyway)
…mber) devices, walk a ".1" device only (should end up querying non-templated OIDs anyway) - avoid walking .0 partially and .1 again for same data
…ng; log the faults (and successes) at level 1
… 1 now, and without a dot-number (to avoid confusion)
… (now by default) so reconnections would be sync
@jimklimov jimklimov added SNMP raspberry service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug labels Feb 24, 2022
@jimklimov jimklimov merged commit a145477 into networkupstools:master Feb 25, 2022
@jimklimov jimklimov deleted the daisy-debug-min branch February 25, 2022 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
raspberry service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug SNMP
Projects
None yet
1 participant