Enable /status/stat in 5.2.x

48 views
Skip to first unread message

Satnam Sarai

unread,
Feb 12, 2018, 11:53:01 AM2/12/18
to CAS Community
Hello,

I am trying to enable /status/stats endpoint.  When I got to /status/stats, I get message saying "Loading..."   It does not show cas stats.  Do I need to set something in cas.properties file?


Here is part of cas.properties files



security.basic.authorizeMode= authenticated
security.basic.enabled=true
security.basic.path=/cas/status/**
security.basic.realm=CAS

management.contextPath=/status
management.security.enabled=true
management.security.roles=ACTUATOR,ADMIN
management.security.sessions=if_required
cas.adminPagesSecurity.ip=127\.0\.0\.1
cas.adminPagesSecurity.loginUrl=${cas.server.prefix}/login
cas.adminPagesSecurity.service=${cas.server.prefix}/status/dashboard
cas.adminPagesSecurity.users=file:/conf/adminusers.properties
cas.adminPagesSecurity.adminRoles[0]=ROLE_ADMIN
#cas.adminPagesSecurity.actuatorEndpointsEnabled=true
# Each of the below endpoints can either be disabled
# or can be marked as 'sensitive' (or not)
# to enable authentication. The global flags above control
# everything and individual settings below act as overrides.

# endpoints.restart.enabled=false
# endpoints.shutdown.enabled=false
# endpoints.autoconfig.enabled=true
# endpoints.beans.enabled=true
# endpoints.bus.enabled=true
# endpoints.configprops.enabled=true
# endpoints.dump.enabled=true
# endpoints.env.enabled=true
# endpoints.health.enabled=true
# endpoints.features.enabled=true
# endpoints.info.enabled=true
# endpoints.loggers.enabled=true
# endpoints.logfile.enabled=true
# endpoints.trace.enabled=true
# endpoints.docs.enabled=false
# endpoints.heapdump.enabled=true

cas.monitor.endpoints.enabled=true
cas.monitor.endpoints.sensitive=false

cas.monitor.endpoints.dashboard.enabled=true
cas.monitor.endpoints.dashboard.sensitive=false

cas.monitor.endpoints.discovery.enabled=false
cas.monitor.endpoints.discovery.sensitive=true

cas.monitor.endpoints.auditEvents.enabled=false
cas.monitor.endpoints.auditEvents.sensitive=true

cas.monitor.endpoints.authenticationEvents.enabled=false
cas.monitor.endpoints.authenticationEvents.sensitive=true

cas.monitor.endpoints.configurationState.enabled=false
cas.monitor.endpoints.configurationState.sensitive=true

cas.monitor.endpoints.healthCheck.enabled=true
cas.monitor.endpoints.healthCheck.sensitive=false

cas.monitor.endpoints.loggingConfig.enabled=false
cas.monitor.endpoints.loggingConfig.sensitive=true

cas.monitor.endpoints.metrics.enabled=true
cas.monitor.endpoints.metrics.sensitive=false

cas.monitor.endpoints.attributeResolution.enabled=false
cas.monitor.endpoints.attributeResolution.sensitive=true

cas.monitor.endpoints.singleSignOnReport.enabled=true
cas.monitor.endpoints.singleSignOnReport.sensitive=false

cas.monitor.endpoints.statistics.enabled=true
cas.monitor.endpoints.statistics.sensitive=false

cas.monitor.endpoints.trustedDevices.enabled=false
cas.monitor.endpoints.trustedDevices.sensitive=true

cas.monitor.endpoints.status.enabled=true
cas.monitor.endpoints.status.sensitive=false

cas.monitor.endpoints.singleSignOnStatus.enabled=false
cas.monitor.endpoints.singleSignOnStatus.sensitive=true

cas.monitor.endpoints.springWebflowReport.enabled=false
cas.monitor.endpoints.springWebflowReport.sensitive=true

cas.monitor.endpoints.registeredServicesReport.enabled=false
cas.monitor.endpoints.registeredServicesReport.sensitive=true

cas.monitor.endpoints.configurationMetadata.enabled=false
cas.monitor.endpoints.configurationMetadata.sensitive=true

cas.monitor.freeMemThreshold=10
cas.monitor.tgt.warn.threshold=10000
cas.monitor.tgt.warn.evictionThreshold=0
cas.monitor.st.warn.threshold=5000
cas.monitor.st.warn.evictionThreshold=0
cas.monitor.warn.threshold=1000
cas.monitor.warn.evictionThreshold=0

Thanks

Reply all
Reply to author
Forward
0 new messages