summaryrefslogtreecommitdiff
path: root/bin/icli
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-05-31 18:47:42 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-05-31 18:47:42 +0200
commit375f44c5f8ab1710e098e1b1807d9493de743642 (patch)
tree37c7690afe8ef5c13109b170678da33e91319ea5 /bin/icli
parent90a2dad63b8668413c7b92043cf7c283b8a3c8cc (diff)
Fix -zN and -z!N not working
Diffstat (limited to 'bin/icli')
-rwxr-xr-xbin/icli2
1 files changed, 2 insertions, 0 deletions
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'} )