Nagios · Example Payload

Nagios Xi Host Create Example

MonitoringInfrastructure MonitoringNetwork MonitoringOpen SourceIT OperationsAlertingObservabilityNagios XINagios CoreNCPANRPENSCANRDP

Nagios Xi Host Create 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/nagiosxi/api/v1/config/host?apikey=5goacg8s&pretty=1",
    "headers": { "Content-Type": "application/x-www-form-urlencoded" },
    "body": "host_name=LOC_MASShost_1&address=127.0.0.1&use=xiwizard_generic_host&force=1&applyconfig=1"
  },
  "_response": {
    "success": "Added host LOC_MASShost_1. Config applied, Nagios Core was restarted."
  }
}