ipa-healthcheck(8)
β¨ ipa-healthcheck(8) β¨
okay bestie, gather round, because we're about to talk about ipa-healthcheck β the FreeIPA manual page that's literally your system's vibe check π
π NAME π
ipa-healthcheck β check on the health of an IPA installation π©Ίβ¨
πΈ SYNOPSIS πΈ
ipa-healthcheck [OPTION]...
π¦ DESCRIPTION π¦
so like, an IPA installation is a complex system, no cap. Spotting real or potential issues can be genuinely hard and takes a whole lot of analysis. This tool is here to reduce that burden, and it tries to identify issues in advance so they can be corrected β ideally before the issue becomes critical. main character energy, honestly. π
Not me reminding you: this tool must be run as root in order to access all components of a system. π
π ORGANIZATION π
These areas of the system that get checked can be logically grouped together, and that grouping is called a source. A source consists of one or more checks.
A check is as atomic as possible β to limit the scope and complexity, and to give you a yes/no answer on whether that particular configuration is correct.
Every check returns a result, and that result is one of WARNING, ERROR, CRITICAL or SUCCESS. Getting SUCCESS tells you the check actually ran and was deemed correct β which is lowkey useful for tracking the last time something was examined. π΅οΈ
When something fails, the output includes the source and the check that detected the failure, along with a message and name/value pairs indicating the problem. And ngl, sometimes a check just can't make a final determination β in that case it generally defaults to WARNING if it can't be sure, so that it can be examined. π
π IMPLEMENTATION DETAILS π
There is no need for users to authenticate and get a ticket in advance for ipa-healthcheck to work. Existing tickets will not be used, because ipa-healthcheck leverages the host keytab and uses a temporary credential cache. iconic behaviour, fr fr β¨
π OPTIONS π
β COMMANDS β
--list-sourcesβ Display a list of the available sources and the checks associated with those sources. your little map of everything, obsessed πΊοΈ
π OPTIONAL ARGUMENTS π
--config=FILEβ The configuration file to use. If an empty string is passed in then no configuration file is loaded. The default is/etc/ipahealthcheck/ipahealthcheck.conf.--source=SOURCEβ Execute checks within the named source, or all sources in the given namespace.--check=CHECKβ Execute this particular check within a source. The exact source must also be specified via--source. (they're a package deal, bestie π«Ά)--output-type=TYPEβ Set the output type. Supported variants arehuman,json, andprometheus. The default isjson.--failures-onlyβ ExcludeSUCCESSresults on output. If stdin is a tty then this will default toTrue. In all other cases it defaults toFalse.--allβ Report all results.--severity=SEVERITYβ Only report errors in the requested severity ofSUCCESS,WARNING,ERRORorCRITICAL. This can be provided multiple times to search on multiple levels. stacking severities? slay π§--verboseβ Generate verbose output.--debugβ Generate additional debugging output.
π JSON OUTPUT π
The results are displayed as a list of result messages for each check executed, in JSON format. This could be input for a monitoring system. very plug-and-play of it π
--output-file=FILENAMEβ Write the output to this filename rather than stdout.--input-file=FILENAMEβ Read the results of a previous run and re-display them.--indent=INDENTβ Pretty-print the JSON with this indention level. This can make the output more human-readable.
πΈ HUMAN-READABLE OUTPUT πΈ
The results are displayed in a more human-readable format. for when you want your eyes to actually enjoy the experience π
--input-file=FILENAMEβ Take as input a JSON results output and convert it to a more human-readable form.
π₯ PROMETHEUS OUTPUT π₯
The results are displayed in the Prometheus text metric exposition format. metrics girlies rise π
--input-file=FILENAMEβ Uses the JSON-formatted results output as metrics source.--metric-prefix=PREFIXβ Prefix to use for metric names.
π EXAMPLES π
Execute healthcheck with the default JSON output:
# ipa-healthcheck
Execute healthcheck with a prettier JSON output:
# ipa-healthcheck --indent 2
Execute healthcheck and only display errors:
# ipa-healthcheck --failures-only
Display in human-readable output a previous report:
# ipa-healthcheck --output-type human --input-file \
/var/log/ipa/healthcheck/healthcheck.log
π FILES π
/etc/ipahealthcheck/ipahealthcheck.conf
π¦ EXIT STATUS π¦
0if all checks were successful β1if any one check failed or the command failed to execute properly π
π INTERNET RESOURCES π
- Main website:
https://www.freeipa.org/ - Git repository for ipa-healthcheck:
https://www.github.com/freeipa/freeipa-healthcheck/
π OTHER RESOURCES π
The ipa-healthcheck distribution includes a documentation file named README.md which contains detailed explanations on executed checks. go read it, it's giving study buddy πβ¨
and that's the whole page, bestie!! π«Ά this little love letter to your system comes from the FreeIPA manual pages, dated Jan 16 2020 β so like, it's been serving looks since then. now go run your health checks and stay iconic ππΈβ¨
π¦ where this page comes from
- centos-stream 10: ipa-healthcheck 0.19-1.el10 Β· GPL-3.0-or-later
- centos-stream 9: ipa-healthcheck 0.19-1.el9 Β· GPLv3
- debian trixie: freeipa-healthcheck 0.16-2 Β· GPL-3.0-only
- fedora 43: freeipa-healthcheck 0.18-6.fc43 Β· GPL-3.0-or-later
- fedora 43: freeipa-healthcheck 0.19-2.fc43 Β· GPL-3.0-or-later
- fedora 44: freeipa-healthcheck 0.19-4.fc44 Β· GPL-3.0-or-later
- ubuntu noble: freeipa-healthcheck 0.16-2 Β· GPL-3.0-only
- ubuntu questing: freeipa-healthcheck 0.16-2
- ubuntu resolute: freeipa-healthcheck 0.16-2build1 Β· GPL-3.0-only
- ubuntu stonking: freeipa-healthcheck 0.16-2build1 Β· GPL-3.0-only
- Copyright (C) 2019 FreeIPA Contributors see COPYING for license
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms