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

Want a general "driver.state" machine reporting for fun and profit #1767

Closed
jimklimov opened this issue Jan 4, 2023 · 0 comments · Fixed by #1771
Closed

Want a general "driver.state" machine reporting for fun and profit #1767

jimklimov opened this issue Jan 4, 2023 · 0 comments · Fixed by #1771
Assignees
Labels
documentation feature NUT protocols service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
Milestone

Comments

@jimklimov
Copy link
Member

jimklimov commented Jan 4, 2023

On profit side, this would help code "know" if the device is currently (re?)initializing or doing a regular data walk. This in turn can impact some logical behavior (error-handling, reporting, etc.) such as for #1756

On the fun side, we would see if the driver is currently responsive or e.g. doing I/O, via clients as well as debug-logs for troubleshooting.

UPDATE: Seems to duplicate #1388 to an extent

@jimklimov jimklimov added feature documentation service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug NUT protocols labels Jan 4, 2023
@jimklimov jimklimov added this to the 2.8.1 milestone Jan 4, 2023
jimklimov added a commit to jimklimov/nut that referenced this issue Jan 5, 2023
jimklimov added a commit to jimklimov/nut that referenced this issue Jan 5, 2023
jimklimov added a commit to jimklimov/nut that referenced this issue Jan 5, 2023
jimklimov added a commit to jimklimov/nut that referenced this issue Jun 30, 2023
]

Follow-up after core driver changes (main.c etc.) with `driver.state` networkupstools#1767,
driver reload command networkupstools#1903, driver inter-instance communications via socket networkupstools#1922
and others.

Also convert remaining single-digit X.Y versions to X.<Y+1>0 double-digits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation feature NUT protocols service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants