The generic Webhook Notifier option allows you to choose an external URL to send POST data to when there is a state change for a monitor. The data sent in these POST requests is sent in JSON format.

If you are unfamiliar with configuring monitoring jobs, step-by-step instructions can be found here:

A ping monitor down POST would look similar to this example:


{
  "state": "down",
  "since": 1444744828,
  "region": "global",
  "job": {
    "notes": null,
    "name": "ping2",
    "notify_repeat": 0,
    "id": "561d0d482db1564c88776b57",
    "region_scope": "fixed",
    "rapid_recheck": false,
    "frequency": 60,
    "job_type": "ping",
    "notify_delay": 0,
    "notify_list": "560d7d249f782d4d663d7d3d",
    "notify_regional": false,
    "regions": [
      "lga"
    ],
    "policy": "quorum",
    "config": {
      "timeout": 2000,
      "host": "1.1.1.1",
      "count": 4
    },
    "status": {
      "global": {
        "since": 1444744580,
        "status": "up"
      },
      "lga": {
        "since": 1444744580,
        "status": "up"
      }
    },
    "notify_failback": true,
    "rules": [],
    "active": true
  }
}
An example ping monitor up POST would look something like this:


{
  "state": "up",
  "since": 1444745000,
  "region": "global",
  "job": {
    "notes": null,
    "name": "ping2",
    "notify_repeat": 0,
    "id": "561d0d482db1564c88776b57",
    "region_scope": "fixed",
    "rapid_recheck": false,
    "frequency": 60,
    "job_type": "ping",
    "notify_delay": 0,
    "notify_list": "560d7d249f782d4d663d7d3d",
    "notify_regional": false,
    "regions": [
      "lga"
    ],
    "policy": "quorum",
    "config": {
      "timeout": 2000,
      "host": "8.8.4.4",
      "count": 4
    },
    "status": {
      "global": {
        "since": 1444744828,
        "status": "down"
      },
      "lga": {
        "since": 1444744828,
        "status": "down"
      }
    },
    "notify_failback": true,
    "rules": [],
    "active": true
  }
}