Teach upsdrvctl to list device config names and show run-time status, and to optionally hide the start-up banner#2568
Merged
jimklimov merged 39 commits intonetworkupstools:masterfrom Jul 31, 2024
Conversation
Signed-off-by: Jim Klimov <[email protected]>
…le" assignments Signed-off-by: Jim Klimov <[email protected]>
…g logs [networkupstools#2567] ...and avoid a potential argv array overflow (or at least useless NULL reporting) along the way Signed-off-by: Jim Klimov <[email protected]>
…issed before [networkupstools#2118] Signed-off-by: Jim Klimov <[email protected]>
…UPSNOTIFY missed before [networkupstools#2136] Signed-off-by: Jim Klimov <[email protected]>
…orkupstools#1662] Signed-off-by: Jim Klimov <[email protected]>
…led()` common method [balancing issues networkupstools#1789 vs. networkupstools#316] Signed-off-by: Jim Klimov <[email protected]>
… checking [networkupstools#1789 vs. networkupstools#316] Signed-off-by: Jim Klimov <[email protected]>
…e banner_is_disabled() checking [networkupstools#1789 vs. networkupstools#316] Signed-off-by: Jim Klimov <[email protected]>
…networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…tps://www.networkupstools.org/" if PACKAGE_URL points completely elsewhere) [networkupstools#1949] Tested with "VER" command Signed-off-by: Jim Klimov <[email protected]>
…ed "https://www.networkupstools.org/" if PACKAGE_URL points completely elsewhere) [networkupstools#1949] Tested with "GET VAR dummy server.info" command Signed-off-by: Jim Klimov <[email protected]>
…AYS_DESC toggle envvar [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…fully (and abort if there is no common BASE) [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…ailed and we fall back [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…ver DESC or BASE data [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
…lt version info data point [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…codepaths Signed-off-by: Jim Klimov <[email protected]>
…would start or shutdown Signed-off-by: Jim Klimov <[email protected]>
…n) [networkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…e_dump_conn() [networkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
…TPID query Signed-off-by: Jim Klimov <[email protected]>
…MPVALUE and DUMPSTATUS queries Signed-off-by: Jim Klimov <[email protected]>
…dsignalfn() Signed-off-by: Jim Klimov <[email protected]>
…us" with socket protocol queries [networkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
…ide a basic "status" operation [networkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
upsdrvctl to list device config names, and to optionally hide the start-up bannerupsdrvctl to list device config names and show run-time status, and to optionally hide the start-up banner
This comment was marked as resolved.
This comment was marked as resolved.
…se [networkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
…f conn->buf [networkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
|
✅ Build nut 2.8.2.2011-master completed (commit eded46e830 by @jimklimov) |
Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…am configuration tweaks Signed-off-by: Jim Klimov <[email protected]>
…he example [networkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
…rkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
…ith column names [networkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
Member
Author
|
Example screenshot currently: |
… naming Signed-off-by: Jim Klimov <[email protected]>
…psdrvquery_debug_level hushing around upsdrvquery_connect_drvname_upsname() attempt [networkupstools#2567] Signed-off-by: Jim Klimov <[email protected]>
Member
Author
|
UPDATED screenshot: |
…_GIT_TRUNK if not provided explicitly [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
This was referenced Aug 1, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also update some docs for recently added tweaking envvars, and use
PACKAGE_URLvalue in networked queries (upsdGETandGET VAR <upsname> server.info).Touches on several issues/PRs:
upsdrvctlwould benefit from CLI options to list known devices, and their current health #2567dummy-upscode, behavior and logs; addedNUT_DEBUG_PIDoption #2118NUT_QUIET_INIT_UPSNOTIFY=truesupport #2136UPDATE: With
status(also inupsdrvsvcctl, albeit rudimentary -- just callingupsdrvctlbut not drilling into service unit info) it actually...Closes: #2567