Hello team,
I want to monitor API in Nagios core.
How can this be done?
I don't have any details other than the API link.
The API link is in JSON
API monitor
- MaterazziSan
- Posts: 5
- Joined: Wed Apr 19, 2023 5:31 pm
Re: API monitor
It does not work with HTTP, although other sites work by using HTTP.
Can we do it by using any plugin of rest API other than HTTP?
Can we do it by using any plugin of rest API other than HTTP?
-
- Posts: 123
- Joined: Thu Feb 09, 2017 5:07 pm
Re: API monitor
Hi @mandar18,
When asking for help on how to monitor, it is very useful to share what exactly you want to monitor for.
You mention json and an api, are you looking to parse a json api return and look for a specific value in that?
If so, you might look at https://exchange.nagios.org/directory/P ... on/details or https://exchange.nagios.org/directory/P ... s)/details or https://github.com/drewkerrigan/nagios-http-json .
Aaron
When asking for help on how to monitor, it is very useful to share what exactly you want to monitor for.
You mention json and an api, are you looking to parse a json api return and look for a specific value in that?
If so, you might look at https://exchange.nagios.org/directory/P ... on/details or https://exchange.nagios.org/directory/P ... s)/details or https://github.com/drewkerrigan/nagios-http-json .
Aaron