Use of felix healtchecks in karaf 4.2.6

I tried to investigate in the felix healthcheck framework to create kubernetes health and ready checks.

I found that the healthcheck can be used in karaf even. You have to install it manually with

install -s mvn:org.apache.commons/commons-lang3/3.9
install -s  mvn:org.apache.felix/org.apache.felix.healthcheck.api/2.0.2
install -s  mvn:org.apache.felix/org.apache.felix.healthcheck.core/2.0.2
install -s  mvn:org.apache.felix/org.apache.felix.healthcheck.generalchecks/2.0.2

And the webconsole:

feature:install webconsole
install -s  mvn:org.apache.felix/org.apache.felix.healthcheck.webconsoleplugin/2.0.0

Now you can see the check results with:

http://localhost:8181/system/console/healthcheck

The source is available under

https://github.com/apache/felix/tree/archived/healthcheck/webconsoleplugin



Comments

Popular posts from this blog

vaadin 14 with osgi and karaf

uptime command for karaf

Modified Log Tail in karaf