Health check from xAPI
How can I check if a service is up or down from the HTTP API (xAPI)? (The 'status' key in the server JSON only represents "enabled" or "disabled".) I think the CLI commands for getting the status are:
health-test <ip> monitorname <name>
health-test <ip> port <port>
The system.performance.get method reports statistics for number of times the status was determined to be up and down, but not the current state.
health-test <ip> monitorname <name>
health-test <ip> port <port>
The system.performance.get method reports statistics for number of times the status was determined to be up and down, but not the current state.
Tagged:
0
Comments