subutai-io / guardian

Protects and alerts peer and resource host owners
https://subutai.io
Apache License 2.0
0 stars 3 forks source link

What should we do for post-Installation checks? #5

Open akarasulu opened 6 years ago

akarasulu commented 6 years ago

Let's put them in here: https://github.com/subutai-io/guardian/blob/master/health-check.sh

dilshat commented 6 years ago

This REST endpoint return http 200 if karaf loaded successfully, 503 if loading, 500 if failed to load https://peer-ip:8443/rest/v1/peer/ready

This REST endpoint return http 200 if MH registered with AND connected to peer, 503 otherwise https://peer-ip:8443/rest/v1/peer/mhpresent