From 1bba19544b7f558a8b9faffead741d750a345480 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 17 Nov 2014 09:30:39 +0100 Subject: icli: document --api1 and --realm --- bin/icli | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'bin') 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 + +Set Icinga 1.x (Classic UI) JSON API root to I. I 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 to C<< https://monitoring.finalrewind.org/cgi-bin/icinga >>. + +Please refer to the L section in this manual for more information +about this API. + =item B<-c>|B<--config> I Read config from I @@ -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 + +Set HTTP Basic Auth realm to I. Defaults to C<< Icinga Access >>. Only +useful when combined with a JSON or XML API. + =item B<-U>|B<--as-contact> I Only operate on service visible to I. -- cgit v1.2.3