Soft states skipped in reports
Andreas Ericsson
ae at op5.se
Mon Dec 13 15:31:07 CET 2004
In avail.c and trends.c, soft states are skipped from reporting.
I know this is by design, but it seems a bit illogical to me, since I
would expect network hiccups to be marked as "bad" in the reports (the
service/host is after all unavailable during the hiccup).
The proper way to do it would probably be to add an option and let the
user choose if he/she wants to include soft states, but for now I've
just removed the continue; code from the log-parsing loops.
Apply with patch -p1.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-cgi_softstates.diff
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041213/78d185ac/attachment.ksh>
More information about the Developers
mailing list