PingIntelligence

PingIntelligence Health Check Guide

This section of the PingIntelligence Monitoring Guide provides administrators with a list of commands that can be used to perform health checks on different PingIntelligence components.

There are multiple methods explained for each component. You can automate the steps or use them in manual mode. The document also captures information on log files, process ID (PID) details, and port details of the API Security Enforcer (ASE) nodes, the API Behavioral Security (ABS) artificial intelligence (AI) engine, and the PingIntelligence Dashboard.

For more information, click the tab for the respective PingIntelligence components:

Performing health checks on ASE

About this task

You can use the following options to conduct a health check on ASE nodes:

Steps

  • To enable the ASE health check URL in the /pingidentity/ase/config/ase.conf file, set the enable_ase_health config property to true.

    The default value of enable_ase_health is false.

    1. If the configuration is modified on a running ASE node, restart the node after modifying the configuration.

      For more information, see Starting and stopping ASE.

    2. In a clustered ASE environment, stop the ASE cluster and update the ase.conf file of the primary node and restart the other ASE nodes.

      For more information, see Restarting an ASE cluster.

    3. When the enable_ase_health is set to true, go to the following URLs and do a health check:

      • http://<ase-hostname/ip>:<http_port>/ase

      • https://<ase-hostname/ip>:<https_port>/ase

    If ASE is receiving the traffic, the response is 200 OK.

  • To check the status of an ASE process, the running status of HTTP or HTTPS process, and port number, run the status command-line interface (CLI) command.

    $./bin/cli.sh status
    shell

    This command also gives basic configuration information.

  • To show the status of communication between ABS and all the ASE nodes in a cluster, run the following command:

    $ ./bin/cli.sh -u admin -p admin abs_info
    shell

    The abs_info command shows the last log upload and attack fetch information from ABS. If ASE is having any issues in uploading logs to ABS or connecting to ABS, it is reported in the output of the command.

  • If ASE is running as a systemctl service, use the following command to check the status of the service:

    $ systemctl status pi-ase.service
    shell

Logs, port numbers, and process IDs

Review this supplementary information on log file details, important port numbers, and process ID (PID) information of PingIntelligence for APIs components.

Log files

The following table shows the main log files of PingIntelligence components.

ASE ABS AI Engine PingIntelligence PingIntelligenceDashboard

abs.log must be the first place for debugging any issues on the ABS. The log has information about each machine learning job on the host. All incoming communication from ASE or the PingIntelligence Dashboard or REST API requests are logged in this file. It also has a periodic log on heartbeat to MongoDB.

  • Dashboard data engine:/pingidentity/dataengine/logs/dataengine.log

  • WebGUI:/pingidentity/webgui/logs/admin.log and /pingidentity/webgui/logs/sso.log

  • Elasticsearch: /pingidentity/elasticsearch/logs/elasticsearch.log

  • Kibana:/pingidentity/kibana/logs/kibana.log

Port numbers

The following table shows important port numbers used by PingIntelligence components.

ASE ABS AI Engine PingIntelligence PingIntelligenceDashboard
  • The PingIntelligence Dashboard server: 8030. Port number 8030 should be exposed to public internet. Make sure that your organization’s firewall allows access to this port.

  • Elasticsearch: 9200

  • Kibana: 5601

  • H2 database: 9092. H2 database is installed and runs as a part of the PingIntelligence Dashboard.

PID information

All PingIntelligence components have their respective PID files. Refer to these files for monitoring or for getting the PID information of the processes.

ASE ABS AI Engine PingIntelligence PingIntelligenceDashboard

The ASE PID file contains the PID for the controller process and the HTTP balancer and HTTPS balancer processes: /pingidentity/ase/logs/ase.pid

The /pingidentity/abs/data/abs.pid file contains the PID for the main ABS process.

There are separate PID files for the different components of the PingIntelligence Dashboard:

  • /pingidentity/dataengine/data/dataengine.pid

  • /pingidentity/webgui/logs/webgui.pid

  • /pingidentity/elasticsearch/logs/elasticsearch.pid

  • /pingidentity/kibana/logs/kibana.pid