summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/icli12
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/icli b/bin/icli
index 0760507..eb84fdb 100755
--- a/bin/icli
+++ b/bin/icli
@@ -347,6 +347,9 @@ sub display_service {
if ($s->{'is_flapping'}) {
$flags .= 'F';
}
+ if ($s->{'notifications_enabled'} == 0) {
+ $flags .= 'N';
+ }
if ($s->{'active_checks_enabled'} == 0 and
$s->{'passive_checks_enabled'} == 1) {
$flags .= 'P';
@@ -548,9 +551,12 @@ B<icli> [B<-x>] [B<-h> I<hosts>] [B<-g> I<hostgroups>] [B<-s> I<services>]
=head1 DESCRIPTION
-B<icli> is a command line interface to Icinga. By default it lists all
+B<icli> is a command line interface to B<Icinga>. By default it lists all
services and their states.
+Note that when supplying custom config and status file paths, B<icli> also
+works with B<Nagios>. 100% compatibility is not guranteed, however.
+
=head1 OPTIONS
=over
@@ -690,6 +696,10 @@ The host this service belongs to is Down or Unreachable
Service is flapping between states
+=item B<N>
+
+Notifications for this service are disabled
+
=item B<P>
Only passive checks are enabled. Note that B<!P> simply means that active