How do you query disk usage, swap, memory metrics from API?
How do you query disk usage, swap, memory metrics from API?
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
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
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