Page 1 of 1

To Monitor REST API Calls

Posted: Mon Jul 03, 2023 2:12 am
by krishnakumar.s
Hi There!

I'm using Nagios open source through Thruk monitoring web interface.

I have a requirement from the customer that if there is 500 Error response from REST APIs, that should only return a JSON response and not a HTML also it should notify the error message of (500) with the reason of the problem. like ( PHP-FPM / Mysql is Down)

Please suggest me if there is an option to achieve this in Nagios.

Thanks!

Re: To Monitor REST API Calls

Posted: Wed Jul 05, 2023 8:53 pm
by kg2857
Try check_http