AlertFox is part of the Ipswitch family of tools and services. Learn More »

AlertFox API

AlertFox includes a basic API interface to check the sensor status remotely, e. g. to combine AlertFox with 3rd party dashboards or alerting systems (for example WhatsUp Gold).

Examples (returns FAILURE as system under test is offline) (returns OK as system under test works fine) (returns NO DATA FOUND as the sensor# does not exist in the user account)

The example API URL points to sensors running in one of our test accounts. The first sensor tests a system that is currently not powered on, hence the reason the API call returns FAILURE. If the system would be up and the sensor was also yielding successful results, you would see a OK response, like with the second test. To summarize, the value returned by the API call is the status of the sensor being queried, not the status of the API itself.

Test With One of Your Own Sensors

It’s very easy to test this using one of your own sensors by simply replacing the relevant portions with your account specific values.
The syntax of this call is:

API URL / AccountID ("AF0322072") / secret key ("58d9") / sensorID ("57450")
The result of this call is the sensor status:
NO DATA FOUND (if the sensor number does not exist)

Where do you find your secret key?

AlertFox API KeyAgain, easy: The key is the first four characters of your iDrone authentication token, which you find on the iDrone page in the Control center.