Nagios · JSON Structure

Nagios Check Result Structure

Type: object Properties: 0
MonitoringInfrastructure MonitoringNetwork MonitoringOpen SourceIT OperationsAlertingObservabilityNagios XINagios CoreNCPANRPENSCANRDP

NagiosCheckResult is a JSON Structure definition published by Nagios. It conforms to the https://json-structure.org/structure/draft/2025-01 meta-schema.

Meta-schema: https://json-structure.org/structure/draft/2025-01

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/structure/draft/2025-01",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nagios/main/json-structure/nagios-check-result-structure.json",
  "name": "NagiosCheckResult",
  "type": "object",
  "fields": {
    "type": { "type": "string", "enum": ["host", "service"], "required": true },
    "hostname": { "type": "string", "required": true },
    "servicename": { "type": "string" },
    "state": { "type": "int32", "enum": [0, 1, 2, 3], "required": true },
    "output": { "type": "string", "required": true },
    "checktime": { "type": "int64", "description": "Unix timestamp." }
  }
}