Currently, NS1 offers pre-built integration with Slack and Pagerduty as notifiers; however, if NS1 does not yet integrate with your chosen notification service, you can use the Webhook Notifier option to set up a connection. Using the custom webhook notifier, you can choose an external URL to which POST data (in JSON format) is sent in the event of a status change for a monitor.
If you are not familiar with configuring monitoring jobs, refer to this section of the Help Center for step-by-step instructions for creating each type of monitoring job (i.e., probe).
For example, a "PING monitor down" POST might look like:
{ "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 } }
For example, a "PING monitor up" POST might look like:
{ "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 } }