mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
output: make --skip to take arguments what will be skipped
Accidental typo in usage() caused realisation making skipping to fully controllable is good idea. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
e4f7259cf6
commit
3369278fc0
9 changed files with 216 additions and 23 deletions
|
|
@ -156,7 +156,8 @@ printed.
|
|||
.TP
|
||||
\fB\-\-color\fR=\fIwhen\fR
|
||||
Use yellow for warning, red for critical, green for suppressed by \-\-minsize
|
||||
and blue when \-\-snet\-alarms is the cause of supression. The
|
||||
and blue when \-\-snet\-alarms is the cause of supression or shared network
|
||||
does not have any ranges. The
|
||||
.I when
|
||||
string can be
|
||||
.BR always ,
|
||||
|
|
@ -172,11 +173,17 @@ 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
|
||||
\fB\-\-skip\fR=\fIwhen\fR
|
||||
The
|
||||
.I when
|
||||
can be one of the following:
|
||||
.IR ok ,
|
||||
.IR warning ,
|
||||
.IR critical ,
|
||||
.IR minsize ,
|
||||
or
|
||||
.BR \-\-critical .
|
||||
.IR suppressed .
|
||||
The skipping criterias are exact match with colors in \-\-color option.
|
||||
.TP
|
||||
\fB\-\-warning\fR=\fIpercent\fR
|
||||
Turn on alarm output format, and specify percentage number which will
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue