Hi Dave, We use what Ray referenced to perform health checks for CAS 6 from our load balancers. By default the endpoint is locked down so we have something like the following to allow our load balancer IPs access to actuator/health. We have not noticed any ill effects and it seems lightweight enough for our purposes.
management.endpoints.web.exposure.include=health management.endpoint.health.enabled=true cas.monitor.endpoints.endpoint.defaults.access[0]=IP_ADDRESS cas.monitor.endpoints.endpoint.defaults.required-ip-addresses[0]=(xxx\.xxx\.xxx\.[0-9]+)|(yyy\.yyy\.yyy\.[0-9]+) Jonathon On Wed, Jun 29, 2022 at 8:48 AM Ray Bon <[email protected]> wrote: > Dave, > > actuator/health > > returns {"status":"UP"} > > See > https://apereo.github.io/cas/6.5.x/monitoring/Monitoring-Statistics.html > and https://fawnoos.com/2022/02/20/cas65-actuator-endpoints/ > > ping on my local returns 404 (but that may be my config). > > Ray > > On Tue, 2022-06-28 at 14:20 -0700, Dave Steiner wrote: > > Notice: This message was sent from outside the University of Victoria > email system. Please be cautious with links and sensitive information. > > Currently (v5.3) we have a locally added "getstatus" endpoint that the > LoadBalancers use to check if the server is up or not. We couldn't seem to > add this in v6 (not sure how long the developer tried). I remember we used > the status endpoint in v5 but that would take too long for the LB and it > would state the server was down when it wasn't. > > Is there is simple v6 endpoint that we could use for this. I found > /actuator/health/ping which seems to be lightweight (haven't look into the > code for it yet). Is this reasonable to use or is there something better. > Our LBs would be hitting this every few seconds so it needs to be > lightweight and return an answer quickly. > > thanks, > ds > Rutgers University > > -- > > Ray Bon > Programmer Analyst > Development Services, University Systems > 2507218831 | CLE 019 | [email protected] > > I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional > territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ > peoples whose historical relationships with the land continue to this day. > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/2d595a8b059e5e77af5b5bb0a55b534cb46da992.camel%40uvic.ca > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/2d595a8b059e5e77af5b5bb0a55b534cb46da992.camel%40uvic.ca?utm_medium=email&utm_source=footer> > . > -- Jonathon Taylor Information Security Office [email protected] -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CABzqDo9FHaHFhKkP6bSDfK6DmRHi%2BN2%3DJfS6KnmMk-g%2Bjg8orA%40mail.gmail.com.
