[icinga-checkins] icinga.org: icinga-core/master: cmd. cgi incomplete output for command description

git at icinga.org git at icinga.org
Wed May 19 13:41:54 CEST 2010

Module: icinga-core
Branch: master
Commit: ea9cd73d1a60a7d364711dbf75dccd528b018685
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=ea9cd73d1a60a7d364711dbf75dccd528b018685

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Sun May 16 23:27:26 2010 +0200

cmd.cgi incomplete output for command description

fixes #437


 Changelog |    4 +++-
 cgi/cmd.c |    1 +
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Changelog b/Changelog
index f23023b..d8da5a1 100644
--- a/Changelog
+++ b/Changelog
@@ -27,7 +27,6 @@ FIXES
 * core: fix for choosing next valid time on day of DST change when clocks go one hour backwards (Ton Voon)
 * core: fix for nagios now erroring when "Error: Could not find any contactgroup matching..." displayed (Ton Voon)
 * core: minor cleanups to icingastats.c (Eric Sesterhenn)
-* core: minor cleanups to cgiutils.c (Eric Sesterhenn)
 * core: remove dead code (Andreas Ericsson)
 * core: introduce common/shared.c and include/shared.h (Andreas Ericsson)
 * core: move cgiutils.h compile time option macros to config.h (Andreas Ericsson)
@@ -56,6 +55,9 @@ FIXES
 * core: base/utils.c: Refactor my_fcopy() (Andreas Ericsson)
 * core: xdata/xpddefault.c: Close perfdata files if fd's are >= 0 (Andreas Ericsson)
+* cgi: minor cleanups to cgiutils.c (Eric Sesterhenn)
+* cgi: fix cmd.cgi incomplete output for command description
 * idoutils: Host DB inserts use string 'NULL\n' instead of NULL (William Preston)
 * idoutils: ndo2db_get_object_id fails to return existing IDs (William Preston)
 * idoutils: fix postgres wrong type in service_object_id
diff --git a/cgi/cmd.c b/cgi/cmd.c
index 950aae1..0e0aa5c 100644
--- a/cgi/cmd.c
+++ b/cgi/cmd.c
@@ -2553,6 +2553,7 @@ void show_command_help(cmd){
 		printf("This command is used to schedule downtime for a particular service.  During the specified downtime, %s will not send notifications out about the service.\n", PROGRAM_NAME);
 		printf("When the scheduled downtime expires, %s will send out notifications for this service as it normally would.  Scheduled downtimes are preserved\n", PROGRAM_NAME);
 		printf("across program shutdowns and restarts.  Both the start and end times should be specified in the following format:  <b>mm/dd/yyyy hh:mm:ss</b>.\n");
+		printf("If you select the <i>fixed</i> option, the downtime will be in effect between the start and end times you specify.  If you do not select the <i>fixed</i>\n");
 		printf("option, %s will treat this as \"flexible\" downtime.  Flexible downtime starts when the service enters a non-OK state (sometime between the\n", PROGRAM_NAME);
 		printf("start and end times you specified) and lasts as long as the duration of time you enter.  The duration fields do not apply for fixed downtime.\n");

More information about the icinga-checkins mailing list