Monitor FreeIPA through ipa-healthcheck?

Dear all,

I’ve deployed check_mk to monitor our lab computing facility, but I stuggled on how to add a specific service to monitor our FreeIPA server/replica configuration.
I’ve installed the ipa-healthcheck package and get proper results with this tool, but I have no clue on how I can integrate ipa-healthcheck output in one or several services to monitor the IPA configuration (replica status, certificates validity, etc.)

I’m using check-mk version 2.0.0p21.

Any help appreciated !

Regards
José

Hi Jose,

I assume you are refering to this Check GitHub - peterpakos/checkipaconsistency: Tool to check consistency across FreeIPA servers
Just install it on your monitoring Server at /opt/omd/sites/moni/local/lib/nagios/plugins/ if you didn’t do so already and create a rule to integrate a Nagios Check (Integrate Nagios plugins)
Configure the rule like this

Service description: IPA replicas
Command line: cipa -n replicas
In the conditions sections just configure your IPA Hosts as “explicit hosts”.

Then repeat that for everything you want to check on your IPA Server.

Works like a charm over here :wink:

Cheers
Frank

1 Like

Thank you Franck

You made my day !

Cheers
José

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.