diff options
-rw-r--r-- | Changelog | 4 | ||||
-rwxr-xr-x | bin/icli | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -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 @@ -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'} ) |