Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Nagios CPU API

System-wide CPU utilization and core counts.

Nagios CPU API is one of 13 APIs that Nagios publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include CPU. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 6 JSON Schemas.

This API exposes 2 operations across 2 paths. It is described by OpenAPI 3.0.3, at version v1.

Requests are made against a single base URL, https://{nagiosXiHost}/nagiosxi/api/v1.

2 operations 2 paths 0 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
v1
Base URL
https://{nagios-xi-host}/nagiosxi/api/v1
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

Nagios CPU API declares 2 security schemes for authenticating requests. An API key is passed in the query as apikey (ApiKeyQuery). An API key is passed in the header as X-API-KEY (ApiKeyHeader). By default, every request must be authenticated.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

CPU 2

System-wide CPU utilization and core counts.

GET
/cpu/percent
Get CPU Percent
getCpuPercent 5 params → 200
GET
/cpu/count
Get CPU Core Count
getCpuCount 1 param → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nagios-cpu-api-openapi.yml Raw ↑

Other APIs Nagios publishes across the network.

NSCA (Nagios Service Check Acceptor)
NRPE (Nagios Remote Plugin Executor)
Nagios Config API
Nagios Disk API
Nagios Interface API
Nagios Memory API
Nagios Objects API
Nagios Plugins API
Nagios Processes API
Nagios Services API
Nagios Submission API
Nagios System API