From 375f44c5f8ab1710e098e1b1807d9493de743642 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 31 May 2013 18:47:42 +0200 Subject: Fix -zN and -z!N not working --- bin/icli | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/icli b/bin/icli index 58274e3..b633141 100755 --- a/bin/icli +++ b/bin/icli @@ -230,6 +230,8 @@ sub filter_generic { or ( $f eq '!D' and not check_is_host_down($x) ) or ( $f eq 'F' and $x->{'is_flapping'} ) or ( $f eq '!F' and not $x->{'is_flapping'} ) + or ( $f eq 'N' and not $x->{'notifications_enabled'} ) + or ( $f eq '!N' and $x->{'notifications_enabled'} ) or ( $f eq 'P' and $x->{'passive_checks_enabled'} and not $x->{'active_checks_enabled'} ) -- cgit v1.2.3