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

Issue #67 nut-upsd healthcheck improvements, add MAXAGE variable #142

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

instantlinux
Copy link
Owner

@instantlinux instantlinux commented Dec 19, 2023

Summary of Changes

Adds the MAXAGE parameter (default 15 seconds) for configuring upsd.conf, and change behavior of HEALTHCHECK under docker-compose (now kills container upon failure).

Why is this change being made?

CyberPower UPS units have long had trouble with stale-data causing the container to fail, as noted in discussion of issue #67.

How was this tested? How can the reviewer verify your testing?

Completion checklist

  • The pull request is linked to all related issues
  • This change has unit test coverage
  • Documentation has been updated
  • Dependencies have been updated and verified

@instantlinux instantlinux merged commit 6c13c27 into main Dec 19, 2023
1 check passed
@instantlinux instantlinux deleted the ISS-67_ups_restart branch December 19, 2023 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant