I have the need to monitor a web status page. The URL would be: https://myhostname/status/
There are several status' that might be shown in the resulting body:
OK (should not trigger an alert)
WARN (should trigger an alert, with the WARN message in Subject and/or the body of the alert)
This might show WARN / 95% FULL or WARN LICENSE EXPIRATION
This seems like it should be a simple thing to do- but everything I have tried does not seem to work as expected. The only thing I have gotten working is to check for the OK message, and alert if that's not found.
There are several status' that might be shown in the resulting body:
OK (should not trigger an alert)
WARN (should trigger an alert, with the WARN message in Subject and/or the body of the alert)
This might show WARN / 95% FULL or WARN LICENSE EXPIRATION
This seems like it should be a simple thing to do- but everything I have tried does not seem to work as expected. The only thing I have gotten working is to check for the OK message, and alert if that's not found.
Comment