Nagios Disk API

Logical, physical, and mount-point disk metrics.

Operations 3

GET /disk/logical Get Logical Disks #
GET /disk/physical Get Physical Disks #
GET /disk/mount Get Disk Mount Points #

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-disk-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-disk-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NCPA (Nagios Cross-Platform Agent) Disk API
  description: 'REST API exposed by the Nagios Cross-Platform Agent (NCPA) running on

    Linux, Windows, or macOS. The API uses a hierarchical node-based URL

    structure (`/api/{module}/{node1}/{node2}`) and is authenticated by a

    `token` query parameter matching the `community_string` in the agent

    config. Both active polls and Nagios-style passive check results are

    supported.

    '
  version: 3.x
  contact:
    name: Nagios Enterprises
    url: https://www.nagios.org/ncpa/
servers:
- url: https://{ncpaHost}:5693/api
  description: NCPA agent listening on default TLS port 5693.
  variables:
    ncpaHost:
      default: localhost
security:
- TokenAuth: []
tags:
- name: Disk
  description: Logical, physical, and mount-point disk metrics.
paths:
  /disk/logical:
    get:
      tags:
      - Disk
      summary: Get Logical Disks
      operationId: getDiskLogical
      parameters:
      - $ref: '#/components/parameters/Token'
      - $ref: '#/components/parameters/Units'
      - $ref: '#/components/parameters/Warning'
      - $ref: '#/components/parameters/Critical'
      - $ref: '#/components/parameters/Check'
      responses:
        '200':
          description: Logical disk metrics.
  /disk/physical:
    get:
      tags:
      - Disk
      summary: Get Physical Disks
      operationId: getDiskPhysical
      parameters:
      - $ref: '#/components/parameters/Token'
      - $ref: '#/components/parameters/Units'
      responses:
        '200':
          description: Physical disk metrics.
  /disk/mount:
    get:
      tags:
      - Disk
      summary: Get Disk Mount Points
      operationId: getDiskMount
      parameters:
      - $ref: '#/components/parameters/Token'
      responses:
        '200':
          description: Mount point metadata.
components:
  parameters:
    Warning:
      name: warning
      in: query
      schema:
        type: string
      description: Nagios-style warning threshold (e.g. '80', '90:', '@70:90').
    Check:
      name: check
      in: query
      schema:
        type: integer
        enum:
        - 0
        - 1
      description: When 1, return a Nagios-style check result with returncode + stdout.
    Units:
      name: units
      in: query
      schema:
        type: string
        enum:
        - k
        - Ki
        - M
        - Mi
        - G
        - Gi
        - T
        - Ti
      description: Convert byte/bit values to the requested SI or binary unit.
    Token:
      name: token
      in: query
      required: true
      schema:
        type: string
      description: NCPA community_string token from agent config.
    Critical:
      name: critical
      in: query
      schema:
        type: string
      description: Nagios-style critical threshold.
  securitySchemes:
    TokenAuth:
      type: apiKey
      in: query
      name: token