Nagios Submission API

Submit passive check results and external commands.

Operations 1

POST / Submit NRDP Payload #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nagios-submission-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nagios-submission-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NRDP (Nagios Remote Data Processor) Submission API
  description: 'NRDP is a PHP-based passive result collector for Nagios. It accepts host and

    service check results and external commands over HTTP POST in either XML or

    JSON form, then injects them into Nagios Core via the external command

    pipe. Authentication uses a token configured in `config.inc.php`.

    '
  version: 2.0.x
  contact:
    name: Nagios Enterprises
    url: https://github.com/NagiosEnterprises/nrdp
servers:
- url: https://{nrdpHost}/nrdp
  description: Self-hosted NRDP collector.
  variables:
    nrdpHost:
      default: nagios.example.com
security:
- TokenForm: []
tags:
- name: Submission
  description: Submit passive check results and external commands.
paths:
  /:
    post:
      tags:
      - Submission
      summary: Submit NRDP Payload
      description: 'Submit a `checkresults` payload (`cmd=submitcheck`) or a Nagios external

        command (`cmd=submitcmd`). The body can be `application/x-www-form-urlencoded`

        with an XML/JSON `XMLDATA`/`JSONDATA` field.

        '
      operationId: submitNrdp
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - token
              - cmd
              properties:
                token:
                  type: string
                  description: NRDP authentication token.
                cmd:
                  type: string
                  enum:
                  - submitcheck
                  - submitcmd
                XMLDATA:
                  type: string
                  description: 'XML payload, root `<checkresults>` containing one or more

                    `<checkresult type="host|service">` elements with

                    `<hostname>`, `<servicename>`, `<state>`, `<output>` children.

                    '
                JSONDATA:
                  type: string
                  description: 'JSON string equivalent of XMLDATA — e.g.

                    `{"checkresults":[{"checkresult":{"type":"service",...}}]}`.

                    '
                command:
                  type: string
                  description: External command string when `cmd=submitcmd`.
      responses:
        '200':
          description: Submission result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NrdpResponse'
components:
  schemas:
    NrdpResponse:
      type: object
      properties:
        status:
          type: integer
          description: 0 on success
          non-zero on error.: null
        message:
          type: string
        meta:
          type: object
          properties:
            output:
              type: string
  securitySchemes:
    TokenForm:
      type: apiKey
      in: query
      name: token