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 rough.
https://copr.fedorainfracloud.org/coprs/rcritten/ipa-healthcheck/
That look sweet. Thanks for your work here.
I tested it in the lab, and intentionally broke something, and confirmed that it works
fine.
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?