I’m trying to monitoring our NGINX reverse web proxy that lives within our DMZ, one idea I had was to use a custom script that would check if the HTTP status always comes back with ‘200’, but wanted to see how others handled this?
Since it lives in our DMZ, I think monitoring the traditional method may be limited as I don’t want to open our firewall up just for this purpose, but believe using a custom script may be the best course of action.
For reference, this was the script I used in Nagios and was thinking of applying to my CheckMK server:
The question is more what do you actually want to monitor? Your Proxy? Your Website? Do you want to know if the actual Website is up and/or if the Website is accessible for your external customers?
Thank you for the quick reply @LaSoe - I mainly want to monitor that the website is up and running for our external customers.
Also, appreciate you pointing me in the right direction, it sounds like the ‘check_http’ or ‘check_curl’ is definitely the route I want to go as I was only tasked with seeing if the website was up and running and coming back with an HTTP response 200.
Hmm, definitely going to read up tonight on that end-to-end monitoring, seems very interesting going down the yaml file route with variables as that may come in handy, thanks again for this!
Thank you for the helpful feedback, it’s greatly appreciated!
To be honest, this request put in by one of our Backend Systems folks was only to monitor if the website was up and running, but definitely saving this configuration setup in my back pocket.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.