Negative text
I'd like to fail a monitor when specific text is found (opposite of the existing text matching). Use case is my human-readable status page that will say "Database: BAD". I'd like to trigger an alert when the text "BAD" is in the response.
Thanks for the simple and useful service.
Thanks for this suggestion but I decided against implementing this feature. Because I think it's way too easy to generate false positives where your service is down and you're not notified because it's not the case you expected and entered in the search. For example your page could later change "BAD" to "bad" or "DOWN" or whaterver, or your page could simply stop working and returning any text or return an error message instead, and you don't want those to be considered UP. And even if it's not technically my fault, friends don't let friends build brittle monitoring ☺
The better option if you already have a custom status page is to either return a custom HTTP status depending on global state, applying the rules you want (e.g. any service is bad, status = 500) Or you can include a global text status saying something like "Global: UP" and do a positive match on this one.