Skip to content

check_http add warning and critical pattern search #1213

@davmik

Description

@davmik

There are only two parameter available (-r|-R) for pattern search which return by default ok if matched and critical if not (as long as there is no --invert-regex param given). Some new parameters like -wr and -wR would be nice to do the same like -r or -R but will return warning instead of critical.
As soon as both parameters would be given --invert-regex would be set by default and if both regex for warning and critical would match, critical would be returned.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions