Hi everyone;
i just recently added in a Nagios Admin Job and i need to monitoring API REST services for an APP, and i don't know how to do; somebody please have any plugin that monitoring these type of services that i colud use?
Thanks.
Monitoring API REST Services
Re: Monitoring API REST Services
I found this:
https://github.com/ynishi/nagios-check-rest
Is the API returning HTML, XML, YAML, or JSON?
https://github.com/ynishi/nagios-check-rest
Is the API returning HTML, XML, YAML, or JSON?
Re: Monitoring API REST Services
Hi, thanks ssax, if the response is '200' return an 'application/Json'; if the response is a '4XX' or '5xx' code is a text/Xmlssax wrote:I found this:
https://github.com/ynishi/nagios-check-rest
Is the API returning HTML, XML, YAML, or JSON?
I am a begginner doing this so, i have much to learn.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring API REST Services
depending on your requirements, it may be possible to do this with check_http as well
Re: Monitoring API REST Services
Hi Scott thanks for the reply, yes, but the services return and receive encripted the data. In other forum recommend me that use a bash with cURL.scottwilkerson wrote:depending on your requirements, it may be possible to do this with check_http as well
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring API REST Services
Ya that's going to make it difficult, you are going to need to code something up that can decipher the enc data so you can get what you need.markoz88 wrote:Hi Scott thanks for the reply, yes, but the services return and receive encripted the data. In other forum recommend me that use a bash with cURL.