> I assume /usr/local/lib/python3.x isn't in your PYTHONPATH.
This is a
> dead-end though as many of the checks aren't applicable to 4.6.x.
Ah, that makes sense.
> I did a backport a few releases ago and built it against EPEL but it's still
That look sweet. Thanks for your work here.
I tested it in the lab, and intentionally broke something, and confirmed that it works
I've started writing a number of health checks of my own, apart from your code here,
that look for exit status codes.
Running your code in debug mode (--debug), I don't see whether or not EACH of these
checks are returning a separate status code or not.
(i.e. 0 = healthy, or !0 = not healthy)
Does this script do anything like that?
A check can return multiple responses including a mix of success and
failure. Every one should return something (if it blows up the
healthcheck itself will report that).
I think what you're looking for is something like: