Nagios · Example Payload

Nrdp Submit Check Example

MonitoringInfrastructure MonitoringNetwork MonitoringOpen SourceIT OperationsAlertingObservabilityNagios XINagios CoreNCPANRPENSCANRDP

Nrdp Submit Check Example is an example object payload from Nagios, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

_request_response

Example Payload

Raw ↑
{
  "_request": {
    "method": "POST",
    "url": "https://nagios.example.com/nrdp/",
    "headers": { "Content-Type": "application/x-www-form-urlencoded" },
    "body": "token=mytoken&cmd=submitcheck&JSONDATA={\"checkresults\":[{\"checkresult\":{\"type\":\"service\",\"checktype\":\"1\"},\"hostname\":\"web01\",\"servicename\":\"HTTP\",\"state\":\"0\",\"output\":\"HTTP OK: 200 OK | time=0.123s;5.000;10.000;\"}]}"
  },
  "_response": {
    "status": 0,
    "message": "OK",
    "meta": { "output": "1 checks processed." }
  }
}