New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to lower the timeout for some replication checks #236
Comments
An RFE for excluding certain sources/check exists, #176 |
A timeout will raise a new exception, TimeoutError. This can be caught and handled inside an individual check, otherwise it will be handled by run_plugin. freeipa#236 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
A timeout will raise a new exception, TimeoutError. This can be caught and handled inside an individual check, otherwise it will be handled by run_plugin. freeipa#236 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
A timeout will raise a new exception, TimeoutError. This can be caught and handled inside an individual check, otherwise it will be handled by run_plugin. freeipa#236 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
A timeout will raise a new exception, TimeoutError. This can be caught and handled inside an individual check, otherwise it will be handled by run_plugin. #236 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
@rcritten Thank you a lot for the fix. We are now testing the new freeipa-healtcheck and ipahealthcheck-exporter, and we are getting really good scraping times. 1.95 seconds, instead of ~7 minutes. We will test with one of the replicas down, and see if it is is reasonably fast still, but it is very promising. Closing tentatively. |
A timeout will raise a new exception, TimeoutError. This can be caught and handled inside an individual check, otherwise it will be handled by run_plugin. freeipa/freeipa-healthcheck#236 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Hi,
we are considering using https://github.com/camptocamp/ipahealthcheck_exporter for monitoring of some of our IPA servers. It uses
ipa-healthcheck
internally, but I find it extremely slow and not well suited for the real time monitoring task.One of the reasons is that
ipa-healtcheck
is non-local.We would like to run it in a mode, where it does not contact any other servers, and only reports status based on locally available information (i.e. ipa server already knows its own state of the replication, and state of its peers, so ipa-healtcheck does not need to recheck it).
Second but related issue, is that
ipa-healthcheck
contacts other replicas, but if they are down, it takes about 2 minutes for the checks to timeout, which makes the entire check to take about 8 minutes to finish.We would like to either disable these remote checks, or reduce timeout to about 10 seconds.
Example of checks that are very slow:
Version: ipa-healthcheck-0.7-6.module_el8.5.0+921+2b5d5825.noarch
The text was updated successfully, but these errors were encountered: