bucardo/check_postgres — pull request #24 by waisbrot (2013-04-01 15:40:10+00:00)
Title: Allow the --reverse flag to invert string comparisons in custom queries

currently, a custom query can signal warning or critical when it matches a string

--query='SELECT status as result FROM table' --valtype=string -c "failure"

I'd like to be able to invert that and signal when it fails to match

--query='SELECT status as result FROM table' --valtype=string --reverse -c "OK"