Page 1 of 1

Query API - export to JSON

Posted: Mon Oct 14, 2019 8:50 am
by andrewblooman
Hi,

I presume this has been asked and answered already, but i am struggling to find a good explanation on my own.

I want to query an API of a web interface, return some results in JSON format.

From there the data could be parsed into a service which could be monitored.

Would i need to create a plugin, then a command and then a service to achieve this?

Essentially all i want to do is a curl to a web page and pipe into JSON.

Re: Query API - export to JSON

Posted: Mon Oct 14, 2019 10:50 am
by benjaminsmith
Hi Andrew,

Take a look at the JSON configuration wizard available on the Nagios Exchange as I believe this may meet your requirements.

JSON Wizard