RackPing API

What is the RackPing API?

The RackPing API is a REST API to automate management of your account, monitors and retrieve reports from programs or the command line.

For example, you can use the RackPing API to enable and disable maintenance windows from your deployment scripts, or add and delete monitoring checks from new VMs or containers..

Documentation

[Click for Github repo]

Request Code Sample

Sample API Code

  • Pause and continue monitoring check alerts using the free curl program:

    # Disable alerts during maintenance for 2 hours. Just customize your API_KEY, EMAIL:PASSWORD and CHECKID.
    curl -X PUT -H 'Accept: application/json' -H "App-Key: API_KEY" -u EMAIL:PASSWORD -d '{"checkids":[ CHECKID ],"maintenance":1}' https://www.rackping.com/api/2.0/checks

    # Enable alerts after maintenance is done. Just customize your API_KEY, EMAIL:PASSWORD and CHECKID.
    curl -X PUT -H 'Accept: application/json' -H "App-Key: API_KEY" -u EMAIL:PASSWORD -d '{"checkids":[ CHECKID ],"maintenance":0}' https://www.rackping.com/api/2.0/checks

Other Helpful Resources