How to monitor the server
The Connect2id server offers administrators and engineers a number of methods to monitor its service, performance and health:
The metrics include:
- user sign-on activity, failed authentications, denied authorisations;
- active user sessions;
- user session creation, retrieval and expiration;
- access token issue;
- client registrations;
- usage of the individual OAuth 2.0 grants (code, implicit, refresh token, etc).
- cluster size.
JMX monitoring of the Infinispan data grid and the individual maps / caches maps in it, such as hit / miss rates, cluster members and size.
The session store web API for checking how many and which users are currently online.
The authorisation store web API for monitoring and inspecting persisted authorisations.
The persisted client registrations, long-lived authorisations and other data can also be inspected in the database where they have been stored:
For an RDBMS with a generic SQL client, or vendor specific client like MySQL Workbench or pgAdmin;
For an LDAP database, with an LDAP client or browser, such as Apache Directory Studio.
- The server logs.