How do you query disk usage, swap, memory metrics from API?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
knsoren
Posts: 1
Joined: Thu Jun 01, 2017 5:10 pm

How do you query disk usage, swap, memory metrics from API?

Post by knsoren »

I would like to use the API to programmatically query my instances for relevant performance data (more than just the CPU data). Would I need to write my own custom backend API endpoint to do this?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: How do you query disk usage, swap, memory metrics from A

Post by dwhitfield »

Can you define instances here? Are you talking about multiple XI installs or the hosts XI is monitoring?

Either way, the current API documentation is under the help menu in XI.

There is also the old API: https://assets.nagios.com/downloads/nag ... nd_API.pdf
Locked