# Health check from xAPI

**URL:** <https://community.a10networks.com/t/health-check-from-xapi/271>\
**Category:** ADC - Application Delivery\
**Tags:** axapi\
**Created:** [March 13, 2014, 3:09am UTC](https://community.a10networks.com/t/health-check-from-xapi/271 "2014-03-13T03:09:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/a10_community/original/1X/bb9f186d33804d3044a0374e589f49fdf3be1328.png) [@system](https://community.a10networks.com/u/system)\
**Post date:** [March 13, 2014, 3:09am UTC](https://community.a10networks.com/t/health-check-from-xapi/271/1 "2014-03-13T03:09:29Z")

</div>

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 monitorname   
health-test 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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/a10_community/original/1X/bb9f186d33804d3044a0374e589f49fdf3be1328.png) [@system](https://community.a10networks.com/u/system)\
**Post date:** [March 18, 2014, 1:52am UTC](https://community.a10networks.com/t/health-check-from-xapi/271/2 "2014-03-18T01:52:00Z")

</div>

I found the answer to my own question. Server port status can be accessed using the xAPI call Slb.Virtual\_server.FetchStatistics .
