summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog4
-rwxr-xr-xbin/icli2
2 files changed, 6 insertions, 0 deletions
diff --git a/Changelog b/Changelog
index e9cba38..99bd586 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,7 @@
+git HEAD
+
+ * Fix --filter N and --filter !N
+
icli 0.44 - Sat Mar 16 2013
* Ignore 'module' field in the icinga status file
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'} )