Hi Bryan, Are you using SpringBoot Admin Server?
Here is how we have monitoring configured without SpringBoot Admin Server: ############## Management/Monitoring Settings ############## # Blog post: https://apereo.github.io/2018/11/06/cas6-admin-endpoints-security/ # And https://apereo.github.io/2019/02/07/cas61-healthstatus-springboot/ management.endpoints.enabled-by-default= true management.endpoints.defaults.sensitive= false management.endpoints.web.base-path= /actuator management.endpoints.web.exposure.include= info,health,status,registeredServices management.server.add-application-context-header= false management.endpoint.health.enabled= true management.endpoint.health.show-details= always management.endpoint.info.enabled= true management.endpoint.status.enabled= true management.endpoint.registeredServices.enabled= true # basic auth to health and info used for ecs health check cas.monitor.endpoints.endpoint.health.access=AUTHENTICATED cas.monitor.endpoints.endpoint.info.access=AUTHENTICATED cas.monitor.endpoints.endpoint.registeredServices.access=AUTHENTICATED spring.security.user.name=${spring_security_user_name} spring.security.user.password=${spring_security_user_password} The monitoring endpoints do not listen on a different port, they are all part of the same application. Take a look at the linked blog posts in the code block also. Hope this helps! On Mon, Jun 22, 2020 at 12:13 PM Bryan Wooten <[email protected]> wrote: > We are trying to get the /status /health endpoints to work on the CAS 6.2 > main branch following this guide: > > > https://apereo.github.io/cas/development/monitoring/Monitoring-Statistics.html > > We have this in our pom.xml: > > implementation > "org.apereo.cas:cas-server-support-reports:${project.'cas.version'}" > > Our cas.properties has: > #settings for monitoring and statistics > spring.boot.admin.url=https://cas6test.go.utah.edu:8444 > spring.boot.admin.client.managementUrl=${cas.server.prefix}/status > > management.endpoints.web.exposure.include=* > management.endpoints.enabled-by-default=true > cas.monitor.endpoints.endpoint.defaults.access=AUTHENTICATED > > spring.security.user.name=casuser > spring.security.user.password=Mellon > > I don't see port 8444 open using: > netstat -tulpn | grep LISTEN > > In catalina.out I see: > > 22-Jun-2020 10:53:21.601 WARNING > [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@1063035f}] > zipkin2.reporter.AsyncReporter$BoundedAsyncReporter.flush Dropped 2 spans > due to ResourceAccessException(I/O error on POST request for " > http://localhost:9411/api/v2/spans": Connection refused (Connection > refused); nested exception is java.net.ConnectException: Connection > refused (Connection refused)) > > org.springframework.web.client.ResourceAccessException: I/O error > on POST request for "http://localhost:9411/api/v2/spans": Connection > refused (Connection refused); nested exception is > java.net.ConnectException: Connection refused (Connection refused) > > at > org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:751) > > at > org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateWrapper.doExecute(ZipkinRestTemplateSenderConfiguration.java:228) > > at > org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:644) > > Any hints or clues? We need this as it seems to be a prerequisite for: > > > https://apereo.github.io/cas/6.0.x/monitoring/Configuring-Monitoring-Administration.html#configuration > > > Thanks, > > Bryan > > University of Utah > > -- > - 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/CAG9x2GWtaRwDPbMP%2B%3D6Lmpu9BHbjJNV__BJiMfguav0%2BdaGS8w%40mail.gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAG9x2GWtaRwDPbMP%2B%3D6Lmpu9BHbjJNV__BJiMfguav0%2BdaGS8w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Robert Bond Network Administrator (918) 444-5886 Northeastern State University -- - 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/CAOA9z6ofm%3DyKbh5%2BePfczJv%2BkAoiXDi4dbDxxE0HeZjChMNT5g%40mail.gmail.com.
