[icinga-checkins] icinga.org: icinga-core/master: Changed tac.cgi to distinct between active, passive and disabled properly #1120

git at icinga.org git at icinga.org
Wed Jun 8 11:55:56 CEST 2011


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

Author: Ricardo Bartels <ricardo at bitchbrothers.com>
Date:   Thu May 26 23:32:06 2011 +0200

Changed tac.cgi to distinct between active, passive and disabled properly #1120

* extinfo.cgi
  - now also shows Hosts/Services as "Active", "Passive", "Disabled"
* status.cgi
  - now the correct icons (passive/disabled) for Hosts and Services are getting displayed
  - added 4 new filters
        HOST_STATE_HANDLED                      1048576
        HOST_NOT_ALL_CHECKS_DISABLED            2097152
        SERVICE_STATE_HANDLED                   1048576
        SERVICE_NOT_ALL_CHECKS_DISABLED         2097152
* tac.cgi
  - changed counting of states. Hosts/Services states now get broken down in every
    possible state
  - Numbers and their filters in tac header changed
	( UNACK / ACK / HANDLED STATE)
  - Counting in tac header makes sense now. No hidden counts anymore
  - added disabled Hosts/Services to "Monitoring Performance"
  - Monitoring Performance only gets viewed when tac header is disabled
  - Extended the JSON Output to represent all counted states.
  - Change JSON Version to 1.4.1
  - Reorganized the view on Unhandled an Handled Problems in tac overview.
  - Divided Active and Passive into Hosts Active/Passive, Services Active/Passive
  - all states in tac overview are linked to status.cgi with corresponding filters

---

 cgi/extinfo.c                  |   50 +-
 cgi/status.c                   |   67 ++-
 cgi/tac.c                      | 2019 ++++++++++++++++++++++++++++------------
 html/stylesheets/tac.css       |   69 +-
 html/stylesheets/tacheader.css |   85 +-
 include/cgiutils.h             |   51 +-
 6 files changed, 1633 insertions(+), 708 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=0fea0d58fc65ccecb37c8045054c85fd4ad3006b




More information about the icinga-checkins mailing list