[icinga-checkins] icinga.org: icinga-core/mbrooks/cgis: Additional corrections to tac header counts #1508

git at icinga.org git at icinga.org
Tue Jun 14 21:06:25 CEST 2011


Module: icinga-core
Branch: mbrooks/cgis
Commit: 0126dd4861f5c97ab609ce6b03c81463c80455e1
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=0126dd4861f5c97ab609ce6b03c81463c80455e1

Author: Matthew J. Brooks <matthew at sonomatechpartners.com>
Date:   Mon May 16 01:51:44 2011 -0700

Additional corrections to tac header counts #1508

This corrects the corrections made by rbartels to the tac header
counts in commit 8bc877224fb82a78f8f8e9ca43ec3805b2c7ca58

It adds additional service_*_unacknowledged_hosts_down ints and
takes them into account in the display of the service counts.

It also makes the display of pending states that Ricardo included
with his chages in the tac header a cgi.cfg option that is off by
default.

The count entries in the tac header begin to lose room and may wrap
for users if they have a display that is <1024x768 when the pending
entries are included. That was the primary reason why I didn't
include them originally. However, since Ricardo made the effort
to add them and those with larger screens may find them useful, I
felt this would be a reasonable compromise.

refs #1508
refs #1506
refs #1505

---

 cgi/cgiutils.c           |    4 ++
 cgi/tac.c                |   99 +++++++++++++++++++++++++++-------------------
 sample-config/cgi.cfg.in |   10 +++++
 3 files changed, 72 insertions(+), 41 deletions(-)

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




More information about the icinga-checkins mailing list