Whitelabel Error Page
This application has no explicit mapping for / error, so you are seeing this as a fallback.
Wed Jun 19 14:10:43 CEST 2019
There is an unexpected error (type = Not Found, status = 404).
{“error”: {“status”: 404, “title”: “NOT_FOUND_EXCEPTION”, “description”: “Code does not exists.”, “type”: “NOT_FOUND_EXCEPTION”, “metadata”: {“ID”: " 1234 “,” RESOURCE “:” CodeEntity "}}}
The “description” section: “Code does not exists.” must be present, then the service is running. If anything else is here, the check should go to Critical.
Are you handy with Python at all? The requests module for it is super handy for writing quick checks like these, and raising a 404 isn’t going to raise an exception unless you tell it to. It can pull json objects into dictionaries to parse through.
It will be much nicer to implement your own plugin with that, than to go with something pre-made. Even for a python beginner, this module makes it super easy to write a nice check script.