# Custom sensors

# HTTP ADVANCED

This sensor calls a http URL and expects JSON or XML return data. The data format is defined by PRTG.

JSON example:

{
  "prtg": {
    "result": [
      {
        "Channel": "current_sessions",
        "Value": "396"
      },
      {
        "Channel": "connections_per_second",
        "Value": "12"
      },
      {
        "Channel": "sessions_per_second",
        "Value": "15"
      },
      {
        "Channel": "requests_per_second",
        "Value": "118"
      },
      {
        "Channel": "percent_err_per_connection",
        "Value": "3.95",
        "Float": "1",
        "CustomUnit": "%"
      }
    ],
    "Error": 0
  }
}
Page Info: Created by GitHub on Jun 9, 2023 (last updated a minute ago by GitHub)