Skip to content

snmp-ups: debug when static entries are skipped; fix ups.test.date in apc-mib to be semi-static#3012

Merged
jimklimov merged 2 commits intonetworkupstools:masterfrom
jimklimov:issue-3011
Jul 11, 2025
Merged

snmp-ups: debug when static entries are skipped; fix ups.test.date in apc-mib to be semi-static#3012
jimklimov merged 2 commits intonetworkupstools:masterfrom
jimklimov:issue-3011

Conversation

@jimklimov
Copy link
Copy Markdown
Member

Closes: #3011

Wondering if upsdebugx(1, ...) verbosity level used to report activity on other entry flags would be too "loud" with skipped statics?..

@sirmeili: would you have a chance to test this fix? See e.g. https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests about building custom NUT from sources (using this PR's source branch in my fork, if it is not merged by then). You would probably need to leave the driver running, get a last ups.test.date at that time, initiate a test and wait for up to semistaticfreq (default 10) update cycles or so to see if the new date value gets reported.

@jimklimov jimklimov added this to the 2.8.4 milestone Jul 10, 2025
@jimklimov jimklimov added APC SNMP Incorrect or missing readings On some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.) impacts-release-2.8.3 Issues reported against NUT release 2.8.3 (maybe vanilla or with minor packaging tweaks) labels Jul 10, 2025
@jimklimov
Copy link
Copy Markdown
Member Author

Change seems reasonable anyway, merging.

@jimklimov jimklimov merged commit c81b489 into networkupstools:master Jul 11, 2025
30 checks passed
@jimklimov jimklimov deleted the issue-3011 branch July 11, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

APC impacts-release-2.8.3 Issues reported against NUT release 2.8.3 (maybe vanilla or with minor packaging tweaks) Incorrect or missing readings On some devices driver-reported values are systemically off (e.g. x10, x0.1, const+Value, etc.) SNMP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

snmp driver not setting the write date for apc ups

1 participant