summaryrefslogtreecommitdiff
path: root/bin/icli
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-11-17 09:30:39 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-11-17 09:30:39 +0100
commit1bba19544b7f558a8b9faffead741d750a345480 (patch)
treebaa2ca1c0bde292fcb9b2c3e6158f4334dfc1c34 /bin/icli
parentc8f711e9eca894379de0690c3070355ca33b823d (diff)
icli: document --api1 and --realm
Diffstat (limited to 'bin/icli')
-rwxr-xr-xbin/icli15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/icli b/bin/icli
index 6e2f95d..d450b98 100755
--- a/bin/icli
+++ b/bin/icli
@@ -1526,6 +1526,16 @@ Schedule a forced, immediate recheck
=back
+=item B<--api1> I<apiroot>
+
+Set Icinga 1.x (Classic UI) JSON API root to I<apiroot>. I<apiroot> must be the root
+of Icinga's CGI directory. For instance, if your tactical overview has the
+URL C<< https://monitoring.finalrewind.org/cgi-bin/icinga/tac.cgi >>,
+you need to set I<apiroot> to C<< https://monitoring.finalrewind.org/cgi-bin/icinga >>.
+
+Please refer to the L</"JSON API"> section in this manual for more information
+about this API.
+
=item B<-c>|B<--config> I<config>
Read config from I<file>
@@ -1570,6 +1580,11 @@ By default (or when used with C<< -ls >>) the number of all hosts and services
When used with C<< -lh >>, lists all hosts with the number of ok / warning /
... checks on each host.
+=item B<--realm> I<realm>
+
+Set HTTP Basic Auth realm to I<realm>. Defaults to C<< Icinga Access >>. Only
+useful when combined with a JSON or XML API.
+
=item B<-U>|B<--as-contact> I<name>
Only operate on service visible to I<name>.