PingIntelligence

PingIntelligence Health Check Guide

This document 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, PID details, and port details of following PingIntelligence component:

Perform health checks on ASE

This section discusses the commands that can be used to check the health status of ASE. You can use the following options to conduct a health check on ASE nodes :

  • Health check URL

    Enable the ASE health check URL in the /pingidentity/ase/config/ase.conf file. To do this set the enable_ase_health config property to true. The default value ofenable_ase_health is false.

    If the configuration is modified on a running ASE node, restart the node after modifying the configuration. For more information, see Start and stop ASE. 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 Restart ASE cluster.

    Once the enable_ase_health is set to true, hit thhe following URLs and do a health check. If ASE is receiving the traffic, the response will be 200 OK.

    http://<ase-hostname/ip>:<http_port>/ase
    https://<ase-hostname/ip>:<https_port>/ase
  • Status command

    Use the following CLI command to know the status of an ASE process, the running status of http or https process, and port number. It also gives basic configuration information.

    $./bin/cli.sh status
    shell
  • ABS Info command

    This command shows the status of communication between ABS and all the ASE nodes in a cluster. It shows 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 will be reported in the output of the abs_info command.

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

    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, PIDs

This section covers supplementary information like log file details, important port numbers, and 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 Dashboard

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 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 Dashboard
  • 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 PingIntelligence Dashboard.

PID information

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

ASE ABS AI Engine PingIntelligence Dashboard

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 PingIntelligence Dashboard.

  • /pingidentity/dataengine/data/dataengine.pid

  • /pingidentity/webgui/logs/webgui.pid

  • /pingidentity/elasticsearch/logs/elasticsearch.pid

  • /pingidentity/kibana/logs/kibana.pid