Nagios Processes API

Running process inventory and resource use.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

nagios-processes-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Nagios XI REST Config Processes API
  description: 'Built-in REST API for Nagios XI, the commercial enterprise distribution of

    Nagios. The API is split into three sections: Objects (read-only backend for

    hosts, services, contacts, host groups, etc.), Config (admin-only writes for

    hosts and services), and System (admin-only commands such as apply

    configuration, scheduled downtime, status). Responses are returned as JSON

    when `pretty=1` or by default. Authentication uses a per-user Nagios XI API

    key passed via the `apikey` query parameter.

    '
  version: v1
  contact:
    name: Nagios Enterprises
    url: https://www.nagios.com/products/nagios-xi/
  license:
    name: Nagios XI Commercial License
    url: https://www.nagios.com/legal/agreements/
servers:
- url: https://{nagiosXiHost}/nagiosxi/api/v1
  description: Self-hosted Nagios XI instance
  variables:
    nagiosXiHost:
      default: nagios.example.com
      description: Hostname or IP address of the Nagios XI server
security:
- ApiKeyQuery: []
- ApiKeyHeader: []
tags:
- name: Processes
  description: Running process inventory and resource use.
paths:
  /processes:
    get:
      tags:
      - Processes
      summary: List Processes
      operationId: listProcesses
      parameters:
      - $ref: '#/components/parameters/Token'
      - name: name
        in: query
        schema:
          type: string
      - name: exe
        in: query
        schema:
          type: string
      - name: cmd
        in: query
        schema:
          type: string
      - name: mem_percent
        in: query
        schema:
          type: number
      - name: cpu_percent
        in: query
        schema:
          type: number
      responses:
        '200':
          description: Process list.
components:
  parameters:
    Token:
      name: token
      in: query
      required: true
      schema:
        type: string
      description: NCPA community_string token from agent config.
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: apikey
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-KEY