Options

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.
Tagged:

Comments

  • Options
    edited March 2014
    I found the answer to my own question. Server port status can be accessed using the xAPI call Slb.Virtual_server.FetchStatistics .
Sign In or Register to comment.