What does the integration offer?
Use the NodePing Integration to forward NodePing notifications to Compass. Compass determines the right people to notify based on on-call schedules, notifies via email, text messages (SMS), phone calls and iOS and Android push notifications, and escalates alerts until they are acknowledged or closed.
How does the integration work?
When an event is created in NodePing, an alert is created in Compass. When the event is up in NodePing, the related alert is closed in Compass.
Set up the integration
NodePing is an API-based integration. Setting it up involves the following steps:
Add a NodePing integration in Compass
Configure the integration in NodePing
Add a NodePing integration
Bidirectional integrations aren’t supported in the Standard plan. All the other integrations are supported at a team level in Standard.
If you're using the Standard plan in Compass, you can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.
To add a NodePing integration in Compass, complete the following steps:
Go to your team’s operations page.
On the left navigation panel, select Integrations and then Add integration.
Run a search and select “NodePing”.
On the next screen, enter a name for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.Expand the Steps to configure the integration section and copy the API URL.
You will use this URL while configuring the integration in NodePing later.Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
Configure the integration in NodePing
To configure the integration in NodePing, complete the following steps:
In NodePing, go to the Contacts page.
Select Click here to add a new Contact.
Paste the URL previously copied from Compass into Address/Mobile Number for Notifications.
Select "Webhook" for Type.
Select Save.
In NodePing, go to the "Contacts" page.
Select Click here to add a new Contact.
In the opening window, paste the URL into "Address/Mobile Number for Notifications".
Paste the URL into the text field next to the 'GET' action menu.
Select Webhook as type.
Select Save.
Sample payload sent from NodePing
(in JSON format)
{ "ra": "1395421314999", "sc": "error", "tg": "http://api1.jsm.com", "e": "1395421320696", "i": "1", "_id": "201403210800LK8IG-AU1A5RZY-1395421320612", "event": "down", "m": "ping: unknown host http://api1.jsm.com", "s": "1395421320612", "q": "coHdSDFSgM", "th": "5", "su": "false", "t": "PING", "rt": "84", "l": "", "ci": "201403210800LK8IG", "label": "pingci", "rhp": "rh1", "uuid": "lgx7330p-psj5-45fp-azdq-rsl13czm91ga" }