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

Make py3.6 compat, handle post_results when nagios endpoint is down. #1

Merged
merged 2 commits into from
Jun 27, 2022

Conversation

daviddpd
Copy link

Py3.6 compat is needed for CentOS 7.x / EL7 compatibility - instead of trying to pull in a newer python.

And, don't crash when nagios is down.

 - subprocess.run with the older syntax,
   - output is also a byte stream that will not json encode, so convert it.
@brd brd merged commit 6c06830 into brd:main Jun 27, 2022
@daviddpd daviddpd deleted the el7-py37-fixes branch June 28, 2022 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants