-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
Teach upsdrvctl
to list device config names and show run-time status
, and to optionally hide the start-up banner
#2568
Merged
Conversation
This file contains 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
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]>
jimklimov
added
enhancement
documentation
service/daemon start/stop
General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
NUT protocols
labels
Jul 30, 2024
…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]>
jimklimov
changed the title
Teach
Teach Jul 31, 2024
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]>
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]>
UPDATED screenshot:
|
…_GIT_TRUNK if not provided explicitly [networkupstools#1949] Signed-off-by: Jim Klimov <[email protected]>
This was referenced Aug 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
enhancement
NUT protocols
service/daemon start/stop
General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
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_URL
value in networked queries (upsd
GET
andGET VAR <upsname> server.info
).Touches on several issues/PRs:
upsdrvctl
would benefit from CLI options to list known devices, and their current health #2567dummy-ups
code, behavior and logs; addedNUT_DEBUG_PID
option #2118NUT_QUIET_INIT_UPSNOTIFY=true
support #2136UPDATE: With
status
(also inupsdrvsvcctl
, albeit rudimentary -- just callingupsdrvctl
but not drilling into service unit info) it actually...Closes: #2567