[icinga-checkins] icinga.org: icinga-core/test/cgis: classic ui: set display_status_totals= 0 by default, add missed Changelog entry #2443

git at icinga.org git at icinga.org
Tue Apr 3 09:26:31 CEST 2012


Module: icinga-core
Branch: test/cgis
Commit: 01d1da70d76df5842b0fee633cd38ca5b0119525
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=01d1da70d76df5842b0fee633cd38ca5b0119525

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Mar 14 22:20:51 2012 +0100

classic ui: set display_status_totals=0 by default, add missed Changelog entry #2443

refs #2443

---

 Changelog                |    1 +
 cgi/cgiutils.c           |    2 +-
 sample-config/cgi.cfg.in |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Changelog b/Changelog
index 2772a66..e364fec 100644
--- a/Changelog
+++ b/Changelog
@@ -28,6 +28,7 @@ ENHANCEMENTS
 * classic ui: added missing comment tool tip box to outages.cgi #2396
 * classic ui: add javascript to refresh page/pause easier #2119
 * classic ui: Added Scheduling queue filter for specific host or service #2421
+* classic ui: add display_status_totals as cgi.cfg option in order to allow the status totals to be shown again #2443
 
 * install: add configure option --with-temp-file=<filepath> to set temp_file for icinga.cfg #2121
 * install: add --with-plugin-dir to configure for setting the plugins path accordingly #2344
diff --git a/cgi/cgiutils.c b/cgi/cgiutils.c
index 1ffdca2..a992bd4 100644
--- a/cgi/cgiutils.c
+++ b/cgi/cgiutils.c
@@ -184,7 +184,7 @@ extern char     *tzname[2];
 int content_type = HTML_CONTENT;
 int embedded = FALSE;
 int display_header = TRUE;
-int display_status_totals = TRUE;
+int display_status_totals = FALSE;
 int refresh = TRUE;
 int daemon_check = TRUE;
 int tac_header = FALSE;
diff --git a/sample-config/cgi.cfg.in b/sample-config/cgi.cfg.in
index e22fdb9..46276d5 100644
--- a/sample-config/cgi.cfg.in
+++ b/sample-config/cgi.cfg.in
@@ -510,7 +510,7 @@ status_show_long_plugin_output=0
 # This option allows you to specify if the
 # Host Status Totals and Service Status Totals
 # should be displayed.
-# Default value is 1.
+# Default value is 0.
 
 display_status_totals=0
 





More information about the icinga-checkins mailing list