We currently use check_http to do a invert regex pattern:
Current check is:
Code: Select all
-u "/mypath/serverstatus" -S --sni -w 30 -c 60 -r Cannot --invert-regex
Is it possible to add an OR field in the regex search, where it searches for 'Cannot' OR 'Configuration Error' and if it finds either record, raises a CRITICAL alarm (considering it is a invert regex search)?