24.3.1 Monitoring API for Identity Server Statistics

For programmatic access to Identity Server statistics, you must enable the REST API.

To enable the REST API:

  1. Add the nidpmonitor.txt file in to the WEB-INF directory of Identity Server and ESP by using Advanced File Configurator. While adding the file, ensure to enable the Restart <component name> After Configuration Change option.

    For information about how to add a file, see Adding Configurations to a Cluster.

    Identity Server: /opt/novell/nam/idp/webapps/nidp/WEB-INF/

    ESP: /opt/novell/nam/mag/webapps/nesp/WEB-INF/

  2. Add the following line in nidpmonitor.txt:

    urn:novell:nidp:monitor:anyaccess

    After this line, you must add the IP addresses of the servers from which you will be making calls to the REST API. For example,

    urn:novell:nidp:monitor:anyaccess

    10.0.0.0

    172.16.0.0

IMPORTANT:Frequent requests to get the statistics impact the system performance. It is recommended to keep a five minutes interval between every probe for the statistics.