From 874aefc424b9af300965e1a518c3f0765d295d2c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 8 Nov 2010 19:26:08 +0100 Subject: minor documentation improvements --- bin/icli | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/icli b/bin/icli index 259e22e..15393c4 100755 --- a/bin/icli +++ b/bin/icli @@ -422,6 +422,11 @@ __END__ =head1 NAME +B [B<-x>] [B<-h> I] [B<-g> I] [B<-s> I] +[B<-c> I] [B<-C>] [B<-f> I] +[B<-r>|B<-lh>|B<-ls>|B<-lq>|B<-ld>] + + B - Icinga Command Line Interface =head1 SYNOPSIS @@ -453,11 +458,11 @@ F =item B<-g>|B<--hostgroup> I -Show details for all hosts in I +Limit selection to hosts in I -=item B<-h>|B<--host> I +=item B<-h>|B<--host> I1,I,I<...> -Only show I's services +Limit selection to I (comma separated list) =item B<-l>|B<--list> B|B|B|B @@ -465,7 +470,11 @@ List either services (the default) or hosts. Note that only the first character of the argument is checked, so C<< icli -lh >>, C<< icli -ls >> etc. are also fine. -=item B<-s>|B<--short> +=item B<-r>|B<--recheck> + +Schedule an immediate recheck of all selected services + +=item B<-x>|B<--short> Only show services which are not OK @@ -495,6 +504,21 @@ None, so far. This software is in early development stages. So there will probably be quite a lot. +=head1 EXAMPLES + +=over + +=item C<< icli -r -s 'APT Updates' >> + +Schedule a check of the "APT Updates" service on all hosts having it + +=item C<< icli -lq -h aneurysm -g chaosdorf-hosts >> + +List check queue for all hosts in the hostgroup "chaosdorf-hosts", plus the +host aneurysm + +=back + =head1 AUTHOR Copyright (C) 2010 by Daniel Friesel Ederf@finalrewind.orgE -- cgit v1.2.3