1.7. Configuring Healthcheck to change the output logs format
Follow this procedure to configure Healthcheck with a timer already configured. In this example, you re-configure Healthcheck to start producing logs in a human-readable format and to also include successful results instead of only errors.
Prerequisites
-
You have
rootprivileges. - You have previously configured Healthcheck to run on a schedule.
Procedure
-
Open the
/etc/ipahealthcheck/ipahealthcheck.conffile in a text editor. -
Add options
output_type=humanandall=Trueto the[default]section. - Save and close the file.
Verification
Run Healthcheck manually:
# ipa-healthcheck-
Go to
/var/log/ipa/healthcheck/and check that the logs are in the correct format.