Monitoring Analytics Agent Health
This describes monitoring the health of the Analytics Agent.
Check-Health Command Usage
Argument | Description |
---|---|
-hp (--host-and-port) STRING[] |
Optional. Application host name or IP:HTTP admin port (Multiple values separated by space). |
-p (--properties) TYPE_PATH |
Optional. Path to the properties file (Multiple values separated by space). |
-v (--verbose) TYPE_BOOLEAN |
Optional. Verbose output. |
The check-health command returns the status of the Analytics Agent. You can specify the agent to check using a properties file or IP address and port.
For example, using a properties file.
./bin/analytics-agent.sh check-health --properties conf/analytics-agent.properties
You can also use the -hp argument and pass the host IP address and the port number for the Analytics Agent.
For example, the default Analytics Agent port for the health check is 9091.
bin/analytics-agent.sh check-health -hp <ip-address>:9091