diff --git a/hc/api/transports.py b/hc/api/transports.py index 8d05c5dd..df8fc3e7 100644 --- a/hc/api/transports.py +++ b/hc/api/transports.py @@ -160,7 +160,8 @@ class VictorOps(HttpTransport): payload = { "entity_id": str(check.code), "message_type": "CRITICAL" if check.status == "down" else "RECOVERY", - "entity_display_name": description, + "entity_display_name": check.name_then_code(), + "state_message": description, "monitoring_tool": "healthchecks.io", } diff --git a/templates/integrations/add_victorops.html b/templates/integrations/add_victorops.html index 3dc5ce41..45db8bee 100644 --- a/templates/integrations/add_victorops.html +++ b/templates/integrations/add_victorops.html @@ -35,12 +35,10 @@
- Make note of the routing key. If this team schedule - does not already have a routing key, - click Setup Routing - or go to Integrations - and scroll to the bottom to create a routing rule and routing key - for this team. + Go to Settings > Integrations and scroll + to the bottom of the page. Choose an existing + Routing Key or + add a new one, and make note of it.
Paste the Post URL from step 3 in the field below, being careful to replace $routing_key with your actual routing key from step 2. Save the integration, and it's done!
+Paste the Post URL from step 3 in the field + below, being careful to replace $routing_key + with your actual Routing Key from step 2. Save the integration, + and it's done!