Re: [cas-user] How to Monitor Active SSO Sessions & Statistics

2020-07-01 Thread dg
Moritz, thank you so much for helps. i ignored dependency name in your 
first answer(cas-server-support-reports), considering that i had already 
added it (but i had just added cas-server-support-metrics).

when i add and configure like you, it works. thank you again.

1 Temmuz 2020 Çarşamba 15:46:06 UTC+3 tarihinde Moritz Mühlenhoff yazdı:
>
> Hi, 
>
> > hey, thanks for response. i set up cas version to 6.1.0 . but still i 
> cannot access localhost:8443/cas/actuator/ssoSessions or 
> localhost.8443/cas/actuator/statistics. because it cannot be found. 
> > 
> > can you share your configurations please? 
>
> Sure, see below for the relevant parts of our  config: 
>
> Cheers, 
> Moritz 
>
> management.endpoints.web.exposure.include=prometheus,sso,ssoSessions 
> management.endpoint.sso.enabled=true 
> management.endpoint.ssoSessions.enabled=true 
>
> # This only returns a result for a session of an authenticated 
> # users, so the lack of access control doesn't leak anything 
> # AUTHENTICATED would be better fit, but it seems broken; it 
> # redirects to a non-existing /adminlogin URL instead of the 
> # IDP login page 
> cas.monitor.endpoints.endpoint.sso.access=ANONYMOUS 
>
> cas.monitor.endpoints.endpoint.ssoSessions.access=IP_ADDRESS 
> cas.monitor.endpoints.endpoint.ssoSessions.requiredIpAddresses=::1,127.0.0.1,208.80.153.23,208.80.154.26,2620::860:1:208:80:153:23,2620::861:1:208:80:154:26
>  
>
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/37ea08d6-e4d5-40d8-be5f-18086d58d0bfo%40apereo.org.


Re: [cas-user] How to Monitor Active SSO Sessions & Statistics

2020-07-01 Thread Moritz Mühlenhoff
Hi,

> hey, thanks for response. i set up cas version to 6.1.0 . but still i cannot 
> access localhost:8443/cas/actuator/ssoSessions or 
> localhost.8443/cas/actuator/statistics. because it cannot be found.
>
> can you share your configurations please?

Sure, see below for the relevant parts of our  config:

Cheers,
Moritz

management.endpoints.web.exposure.include=prometheus,sso,ssoSessions
management.endpoint.sso.enabled=true
management.endpoint.ssoSessions.enabled=true

# This only returns a result for a session of an authenticated
# users, so the lack of access control doesn't leak anything
# AUTHENTICATED would be better fit, but it seems broken; it
# redirects to a non-existing /adminlogin URL instead of the
# IDP login page
cas.monitor.endpoints.endpoint.sso.access=ANONYMOUS

cas.monitor.endpoints.endpoint.ssoSessions.access=IP_ADDRESS
cas.monitor.endpoints.endpoint.ssoSessions.requiredIpAddresses=::1,127.0.0.1,208.80.153.23,208.80.154.26,2620::860:1:208:80:153:23,2620::861:1:208:80:154:26

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFD1En9mpgUXGN_6H%2BrJuRARgV7Gk0VoAG7p_nTMos2rSi1oCQ%40mail.gmail.com.


Re: [cas-user] How to Monitor Active SSO Sessions & Statistics

2020-07-01 Thread dg
hey, thanks for response. i set up cas version to 6.1.0 . but still i 
cannot access localhost:8443/cas/actuator/ssoSessions or 
localhost.8443/cas/actuator/statistics. because it cannot be found.

can you share your configurations please?

30 Haziran 2020 Salı 16:09:23 UTC+3 tarihinde Moritz Mühlenhoff yazdı:
>
> Hi, 
>
> > i want to expose current active sso session number and staticstics by 
> actuator api. i have searched cas blog and page (
> https://apereo.github.io/cas/development/monitoring/Monitoring-Statistics.html,
>  
> https://apereo.github.io/2018/11/06/cas6-admin-endpoints-security/), but 
> i couldnt find a way to do that. 
> > i just need like these apis; /actuator/ssoSessions, /actuator/statistics 
> > 
> > i have added this dependecy to build.gradle 
> > 
> > compile "org.apereo.cas:cas-server-support-metrics:${casServerVersion}" 
>
> We're running a 6.1 setup with the ssoSessions actuator, try enabling 
>
> compile 
> "org.apereo.cas:cas-server-support-reports:${project.'cas.version'}" 
>
> in the Gradle build. 
>
> Cheers, 
> Moritz 
>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f3ea39db-efe2-4a97-8431-75346a44003fo%40apereo.org.


Re: [cas-user] How to Monitor Active SSO Sessions & Statistics

2020-06-30 Thread Moritz Mühlenhoff
Hi,

> i want to expose current active sso session number and staticstics by 
> actuator api. i have searched cas blog and page 
> (https://apereo.github.io/cas/development/monitoring/Monitoring-Statistics.html,
>  https://apereo.github.io/2018/11/06/cas6-admin-endpoints-security/), but i 
> couldnt find a way to do that.
> i just need like these apis; /actuator/ssoSessions, /actuator/statistics
>
> i have added this dependecy to build.gradle
>
> compile "org.apereo.cas:cas-server-support-metrics:${casServerVersion}"

We're running a 6.1 setup with the ssoSessions actuator, try enabling

compile "org.apereo.cas:cas-server-support-reports:${project.'cas.version'}"

in the Gradle build.

Cheers,
Moritz

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFD1En9eYL0WW%3DaHaEOPbQvU3w5WhsHNK1JLyC6TpUt1-m84XQ%40mail.gmail.com.


[cas-user] How to Monitor Active SSO Sessions & Statistics

2020-06-29 Thread dg
Hello, i am using 6.2.0 cas version.

i want to expose current active sso session number and staticstics by 
actuator api. i have searched cas blog and page (
https://apereo.github.io/cas/development/monitoring/Monitoring-Statistics.html
, https://apereo.github.io/2018/11/06/cas6-admin-endpoints-security/), but 
i couldnt find a way to do that.
i just need like these apis; /actuator/ssoSessions, /actuator/statistics

i have added this dependecy to build.gradle

compile "org.apereo.cas:cas-server-support-metrics:${casServerVersion}"

then, i have added these properties to cas.properties


management.endpoints.web.exposure.include=*
management.endpoints.enabled-by-default=true
management.endpoint.ssoSessions.enabled=true
management.endpoint.statistics.enabled=true
management.endpoints.defaults.sensitive=false
cas.monitor.endpoints.endpoint.defaults.access=ANONYMOUS

where am i missing? thanks for helps.

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/3ffc423f-ff83-4410-ad0e-00d0b6a2065do%40apereo.org.