Page 1 of 1

API related info

Posted: Thu Nov 05, 2020 7:20 am
by taashee
Hello Team ,

For one project we would like to know details as mentioned below for NAgios XI . Please guide us .

1.API specification for pulling information from Nagios. If data is shared in JSON then the JSON schema.
2.List of KPIs that can be polled
3.Is it Push or Pull
4.Frequency of Pull/Push and any limitations for that
5.Are there any configuration APIs to change config parameters as well like SNMP polling frequency, alerts etc; if yes; there details as well .
Apart from above -
Is there any API to poll hosts/services status from nagios .?

Re: API related info

Posted: Thu Nov 05, 2020 2:35 pm
by dchurch
Nagios XI is self-documenting. You can get a complete API reference if you open the Nagios XI web interface and go to Help (top nav) => API Docs -> Introduction. Not sure if there's a JSON schema available, but the docs are in human-readable format at least.

As far as other API's that are in-play within Nagios, there's the NCPA API that's used for communicating with monitored hosts. The reference for NCPA API can be found here.

NRDP is also used for communicating with monitored hosts Here's a general reference for that.