Chapter 28. Installing and running the IdM Healthcheck tool
Install and run the IdM Healthcheck tool to help find issues that can impact the performance of your IdM environment.
28.1. Healthcheck in IdM Copy linkLink copied to clipboard!
The Healthcheck command line tool in Identity Management (IdM) helps find issues that can impact the performance of your IdM environment. Using Healthcheck, you can identify an issue in advance so that you can correct it before it becomes critical.
You can use Healthcheck without obtaining a Kerberos ticket.
Modules are independent
Healthcheck consists of independent modules which check for:
- Replication issues
- Certificate validity
- Certificate authority infrastructure issues
- IdM and Active Directory trust issues
- Correct file permissions and ownership settings
Output formats and destination
You can set the following types of output for Healthcheck to generate by using the output-type option:
-
json: Machine-readable output in JSON format (default) -
human: Human-readable output
You can specify a file to store the output by using the --output-file option.
Results
Each Healthcheck module returns one of the following results:
- SUCCESS
- The system is configured as expected.
- WARNING
- It is advisable to monitor or evaluate the configuration.
- ERROR
- The system is not configured as expected.
- CRITICAL
- The configuration is not as expected, with a significant potential to impact the functioning of your IdM deployment.
28.2. Installing IdM Healthcheck Copy linkLink copied to clipboard!
You can install the IdM Healthcheck tool to help find issues that can impact the performance of your IdM environment.
Prerequisites
-
You are logged in as
root.
Procedure
Install the
ipa-healthcheckpackage:dnf install ipa-healthcheck
# dnf install ipa-healthcheckCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Perform a basic Healthcheck test:
ipa-healthcheck
# ipa-healthcheckCopy to Clipboard Copied! Toggle word wrap Toggle overflow []
[]Copy to Clipboard Copied! Toggle word wrap Toggle overflow The empty square brackets
[]indicate a fully-functioning IdM installation.
28.3. Running IdM Healthcheck manually Copy linkLink copied to clipboard!
You can execute Healthcheck tests either manually on the CLI or automatically by using a timer. You can manually run IdM Healthcheck tests from the command line to diagnose and monitor the health of your environment.
Prerequisites
- The Healthcheck tool is installed. See Installing IdM Healthcheck.
Procedure
Optional: To display a list of all available Healthcheck tests, enter:
ipa-healthcheck --list-sources
# ipa-healthcheck --list-sourcesCopy to Clipboard Copied! Toggle word wrap Toggle overflow To run the Healthcheck utility, enter:
ipa-healthcheck
# ipa-healthcheckCopy to Clipboard Copied! Toggle word wrap Toggle overflow