From ee56111f6396e821d3d4967707aba90df277e1ca Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 18 Nov 2010 23:58:23 +0100 Subject: Documentation for -z, fix/add host down/unreachable --- bin/icli | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 55 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/icli b/bin/icli index 6ec8042..520aa57 100755 --- a/bin/icli +++ b/bin/icli @@ -98,8 +98,10 @@ sub filter_generic { ($f eq '!c' and $x->{'current_state'} != 2) or ($f eq 'u' and $x->{'current_state'} == 3) or ($f eq '!u' and $x->{'current_state'} != 3) or - ($f eq 'd' and $x->{'current_state'} == 2) or - ($f eq '!d' and $x->{'current_state'} != 2) or + ($f eq 'd' and $x->{'current_state'} == 1) or + ($f eq '!d' and $x->{'current_state'} != 1) or + ($f eq 'x' and $x->{'current_state'} == 2) or + ($f eq '!x' and $x->{'current_state'} != 2) or 0 # Terminator to ease adding new lines ) { @@ -581,6 +583,11 @@ Increase output verbosity Show version information +=item B<-z>|B<--filter> I + +comma separated list of filters, only shows services for which all filters +match. See L. + =back =head1 OUTPUT @@ -636,6 +643,52 @@ Enabled with -lq =back +=head1 FILTER EXPRESSIONS + +Each expression can be negated with an exclamation mark, e.g. "!A" for all +non-acknowledged services. + +=over + +=item B + +Check state has been acknowledged + +=item B + +Service is flapping between states + +=item B

+ +Only passive checks are enabled. Note that B simply means that active +checks are enabled, no matter the status of passive checks + +=item B + +Host/Service state is OK + +=item B + +Service state is Warning + +=item B + +Service state is Critical + +=item B + +Service state is Unknown + +=item B + +Host state is Down + +=item B + +Host state is Unreachable + +=back + =head1 EXIT STATUS Zero, unless errors occured. -- cgit v1.2.3