Chapter 2. Checking services using IdM Healthcheck
You can monitor services used by the Identity Management (IdM) server using the Healthcheck tool.
Prerequisites
- The Healthcheck tool is only available on RHEL 8.1 and newer
2.1. The IdM services Healthcheck test
The Healthcheck tool includes a test to check if the Identity Management (IdM) services are running correctly. Start with this Healthcheck test as IdM services that are not running correctly can cause failures in other Healthcheck tests.
The services test is context-specific based on what features are configured. For example, named
is only checked if the integrated IdM DNS service is configured on the IdM server. Others, for example smb
or winbind
, are only checked if an IdM-AD trust is enabled.
The list of IdM services that the test evaluates can look as follows:
- certmonger
- dirsrv
- gssproxy
- httpd
- ipa_custodia
- ipa_dnskeysyncd
- ipa_otpd
- kadmin
- krb5kdc
- named
- pki_tomcatd
- sssd
You can view this list by running the ipa-healthcheck --list-sources
command and identifying the ipahealthcheck.meta.services
section in the output.
2.2. Screening IdM services using Healthcheck
Follow this procedure to run a standalone manual test of services running on the Identity Management (IdM) server by using the Healthcheck tool.
Procedure
Enter:
ipa-healthcheck --source=ipahealthcheck.meta.services
# ipa-healthcheck --source=ipahealthcheck.meta.services
Copy to Clipboard Copied! -
The
--source=ipahealthcheck.meta.services
option ensures that IdM Healthcheck only performs the services test. -
The
--failures-only
option is enabled by default and it ensures that IdM Healthcheck only reports warnings, errors and critical issues.
A successful test displays empty brackets:
[ ]
[ ]
Copy to Clipboard Copied! If one of the services fails, the result can looks similarly to this example:
{ "source": "ipahealthcheck.meta.services", "check": "httpd", "result": "ERROR", "kw": { "status": false, "msg": "httpd: not running" } }
{ "source": "ipahealthcheck.meta.services", "check": "httpd", "result": "ERROR", "kw": { "status": false, "msg": "httpd: not running" } }
Copy to Clipboard Copied! NoteRun this test on all IdM servers when trying to discover issues.
-
The