output: add --skip-ok option

Omit ranges and shared networks that do not exceed warning or critical
thresholds.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-11-06 22:11:47 +00:00
parent e079cc16e0
commit c55c823753
No known key found for this signature in database
GPG key ID: A9553245FDE9B739
4 changed files with 47 additions and 2 deletions

View file

@ -159,6 +159,12 @@ coloring thresholds can be changed, but one must also use
.B \-\-format=text
to avoid turning on alarting mode.
.TP
\fB\-\-skip\-ok
Do not print ranges that are within thresholds of
.B \-\-warning
or
.BR \-\-critical .
.TP
\fB\-\-warning\fR=\fIpercent\fR
Turn on alarm output format, and specify percentage number which will
cause an alarm. If either a range or shared network will exceed