ipahealthcheckconf(5)
π ipahealthcheckconf β the ipa-healthcheck config file, bestie edition π
okay so you found ipahealthcheckconf(5), the manual page for the config file of ipa-healthcheck. she's not complicated, she's just got β¨rulesβ¨, and honestly? once you get her vibe she's the easiest girl in the whole FreeIPA friend group. let's go π«Ά
πΈ NAME πΈ
ipahealthcheck.conf β the ipa-healthcheck configuration file. that's it. that's the whole name. iconic.
β¨ SYNOPSIS β¨
/etc/ipahealthcheck/ipahealthcheck.conf
one file. one path. no drama. π
π¦ DESCRIPTION π¦
so ipahealthcheck.conf is literally the file you use to set your defaults when you run ipa-healthcheck. that's the whole job. you put your defaults here so you don't have to type them every single time, and honestly? that's main character energy. π
π SYNTAX π
okay bestie, here's where it gets real. the rules, in order:
- the configuration option names are not case sensitive. the values may be case sensitive though, depending on the option, so don't get cute with them. π
- blank lines are ignored. she simply doesn't see them.
- lines starting with
#are comments, and they're ignored too. leave notes for your future self, it's self care. π - a valid line is an option name, an equals sign, and a value. spaces around the equals sign are ignored. an option ends at the end of the line. periodt.
- values should not be quoted β the quotes will not be stripped. so don't do it. i'm serious. π
# Wrong - don't include quotes
verbose = "True"
# Right - Properly formatted options
verbose = True
verbose=True
see how pretty the right one is? yeah. be the right one. β¨
- options must appear in the section named
[default]. there are no other sections defined or used currently. that's the whole list of sections. one section. queen behavior. - you can define options that aren't used. but be careful of misspellings, because they will not be rejected. she'll just quietly ignore you and you'll be confused later. π
π« EXCLUDES π«
sometimes you just need to suppress a result, and that's valid. the classic example: a customer certificate that's throwing a warning because IPA doesn't know it. totally normal, lowkey annoying.
here's the tea on how excluding actually works, because the differences are important:
- excluding a result key does not stop it from running β it just gets filtered out of the reported results.
- excluding by source or check will prevent it from running at all.
- services will not be excluded, because other checks may rely on them (
ipahealthcheck.meta.services). they're too important to ghost, sorry. π«Ά
each excludes type may be listed multiple times. invalid sources, checks and/or keys will not be flagged β no error, no warning, nothing. and these config options are only processed when they show up in the EXCLUDES section; anywhere else they're just ignored.
also, please, annotate the reason you're excluding something so the reason doesn't get lost forever. future you says thank you. πΈ
you can suppress or exclude results in three ways:
- source, e.g.
ipahealthcheck.ipa.certs - check, e.g.
IPADNSSystemRecordsCheck - report key, e.g.
20210910141457(certmonger tracking id)
π OPTIONS π
here's what actually matters in each section, bestie. buckle up, it's a short list, we love her for that.
[default]
cert_expiration_daysβ how many days left before a certificate expires you want to start getting a warning. the default is28.timeoutβ how long, in seconds, each check gets to run before it's considered an error. the default is10.
[excludes]
sourceβ filter results based on the check source.checkβ filter results based on the check name.keyβ filter results based on the result key in the healthcheck output.
π the command-line options situation π
all command-line options may be included in the configuration file. dashes must be converted to underscores for the config file, e.g. --output-type becomes output_type. all options are allowed, including the ones that make zero sense in a config file, like --list-sources. let the buyer beware. π
so why would you even do this? automation, bestie. it means you don't have to tweak your automation script every time. example: if you want the default output type to be human for the systemd timer's automated runs, setting output_type=human in the config file does exactly that. slay.
β οΈ when loading configuration, the first option wins. so if an option is in the config file, it cannot be overridden by the command line unless you specify a different configuration file (see --config).
there may be conflicting exceptions, and this is where it gets spicy. for example, if all=True is set in the config file and the command line contains --failures-only, then only failures will be displayed β because of the way the option evaluation is done. not a bug, just how she is. π₯
options that don't make sense for the config file include --list-sources and --input-file.
π FILES π
/etc/ipahealthcheck/ipahealthcheck.confβ configuration file
π EXAMPLES π
7 days left before a certificate expires to start displaying a warning:
[default]
cert_expiration_days=7
Exclude all certificate checks:
[excludes]
source=ipahealthcheck.ipa.certs
Don't warn about a custom certificate being tracked by certmonger:
[excludes]
key=20210910141452
π SEE ALSO π
and that's the whole page, bestie. go forth and configure responsibly. this one came to you from FreeIPA, dated Apr 5 2019 β yes she's a classic, yes she still eats. mwah. πβ¨
π¦ 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