EvoHub DocsEvoHub Docs Sign in

PRTG

Use with AI
View as MarkdownThis page as plain text, for pasting into an AI tool Open in ClaudeAsk Claude questions about this page Open in ChatGPTAsk ChatGPT questions about this page
Connect to Cursor / VS Code / ClaudeSearch and read these docs from your AI tool (MCP server)

MCP server URL

https://docs.evohub.io/mcp

Claude Code

claude mcp add --transport http evohub-docs https://docs.evohub.io/mcp

Claude (claude.ai and Claude Desktop): Settings → Connectors → Add custom connector, and paste the URL above.

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "evohub-docs": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://docs.evohub.io/mcp"
      ]
    }
  }
}

Cursor — ~/.cursor/mcp.json

{
  "mcpServers": {
    "evohub-docs": {
      "url": "https://docs.evohub.io/mcp"
    }
  }
}

VS Code — .vscode/mcp.json

{
  "servers": {
    "evohub-docs": {
      "type": "http",
      "url": "https://docs.evohub.io/mcp"
    }
  }
}

EvoHub receives PRTG sensor alerts through a notification template with Execute HTTP Action. A sensor going Down or Warning opens an EvoHub alert, and the sensor returning to Up resolves it.

Set it up

Create the integration

In EvoHub, go to On-Call → Integrations → + Add Integration, choose PRTG, pick an Escalation Policy and click Create Integration. Copy the Webhook URL.

Create a notification template

In PRTG, go to Setup → Account Settings → Notification Templates, add a notification template and enable Execute HTTP Action.

Set the URL and method

Set URL to your webhook URL and HTTP Method to POST. GET sends no payload.

Set the postdata

Paste the postdata below as it is. PRTG fills in the %… placeholders.

Use it in triggers

Add the template to the notification triggers of the sensors (or groups and devices) that should page: a State Trigger for Down and Warning, and for Up so alerts resolve.

Postdata:

device=%device&sensor=%sensor&status=%laststatus&message=%message&priority=%priority&sensor_id=%sensorid&link=%linksensor&lastvalue=%lastvalue

PRTG's HTTP action sends form-encoded data, which EvoHub reads directly. EvoHub also accepts the same fields as JSON.

Warning

Keep sensor_id=%sensorid in the postdata: EvoHub matches a recovery to its alert by the sensor ID. Without it, EvoHub falls back to the device and sensor names, so renaming a sensor while it is down leaves its alert open. Keep priority=%priority too, so the sensor's stars set the severity; without it a Down sensor is high. link and lastvalue are optional: the alert then links to the sensor in PRTG and shows its last reading.

What EvoHub reads

EvoHub alert Taken from
Title "sensor on device is status", for example "Ping on db-01 is Down".
Description message.
Labels device, sensor, status.
Fingerprint sensor_id; without it, the device and sensor names.
Link and value link (%linksensor) opens the sensor in PRTG; lastvalue (%lastvalue) is shown as last_value. Both optional.

Severity

Severity comes from the sensor's status and its priority (PRTG's %priority renders as stars, * to *****; a digit 1–5 also works):

Status Priority EvoHub severity
Down 5 stars critical
Down 4 stars high
Down 3 stars medium
Down 2 stars low
Down 1 star info
Down missing high
Warning any medium
any other status (except Up and Paused) any low

Raise the priority of sensors whose failure should wake someone up.

Resolve and deduplication

  • A notification whose status is Up or Paused resolves the open alert for that sensor. EvoHub reads the current state from both %laststatus ("Down") and the longer %status form ("Up ended (now: Down)").
  • Repeated Down or Warning notifications for a sensor whose alert is still open are recorded as Retriggered.

Troubleshooting

  • Nothing arrives: check that HTTP Method is POST and that the URL includes ?key=. A 400 means the postdata has none of device, sensor or sensor_id.
  • Recoveries do not resolve after a sensor was renamed: add sensor_id=%sensorid to the postdata, so EvoHub keys on the sensor ID instead of its name.
  • Alerts stay open: add the template to the trigger for the Up state too.
Last updated Powered by