Bug-Fix Patch for Avail.cgi

Bob Ingraham bobi at netshel.net
Thu Feb 16 22:58:25 CET 2006


Hi All,

This patch fixes the problem with the Service Group summaries where the
columns (for a given Service Group row,) don't always add up to 100%.

 (i.e., OK-Time + Warning-Time + Critical-Time + Unknown-Time != 100%)

The problem was that the indeterminate-time column was not being computed
and, when a relatively new service was displayed, the columns didn't
add-up.

It appears that this problem has been in all of the 2.0 release candidates
as well as the current 2.0 stable release.

Anyway, I finally got around to tracking it down, fixing and testing it
and it works as expected.

Attached is the diff for avail.c

Thanks,
Bob Ingraham
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: avail-fix.diff
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060216/144c9ee8/attachment.ksh>


More information about the Developers mailing list