API Documentation

← Back to Status Page

GET/api.php?action=status
Returns the latest status of all monitored nodes.

Response Example:

{
  "overall": "operational",
  "checked_at": 1717762984,
  "nodes": [
    {
      "node_name": "kvm01.eyl",
      "status": "up",
      "latency": 246,
      "code": 0,
      "type": "icmp",
      "checked_at": 1717762984
    }
  ]
}
GET/api.php?action=history&node={node_name}
Returns the last 100 check results for a specific node.

Parameters:

  • node (required): The name of the node (e.g., kvm01.eyl).

Response Example:

[
  {
    "id": 1,
    "node_name": "kvm01.eyl",
    "status": "up",
    "latency": 246,
    "code": 0,
    "type": "icmp",
    "checked_at": 1717762984
  }
]