How to monitor the server

The Connect2id server offers administrators and engineers a number of methods to monitor its service, performance and health:

  1. A monitoring web API with over 100 metrics as well as backend database connection health-checks. The server can be configured to make those metrics available via JMX.

    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.
  1. JMX monitoring of the Infinispan data grid and the individual maps / caches maps in it, such as hit / miss rates, cluster members and size.

  2. The session store web API for checking how many and which users are currently online.

  3. The authorisation store web API for monitoring and inspecting persisted authorisations.

  4. 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.

  1. The server logs.