[Nagios-devel] Fix for extraneous alerts + two development pleas

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Fix for extraneous alerts + two development pleas

Post by Guest »

Hi!

A customer of ours raised an issue which has kept me busy for the last
few days. The problem is that if a host is shutdown, there are an
excessive number of log entries for the host's services in nagios.log
(though not for the first service that invoked a host check). More
details about the problem and the fix are here: http://bit.ly/gZUzlR

I have added test cases to catch this particular problem - details on
running tests are here: http://wiki.nagios.org/index.php/Nagios ... es#Testing

You can see the effect by reverting the fix to base/checks.c and
running t-tap/ test_checks - this will fail for two attributes that
were not being set correctly.

I have two pleas:
* Please add/request test cases for any new changes (where
possible). This way we can build up a whole set of cases to measure
impacts in future (I think handle_async_service_check_result() could
do with a refactor but I daren't touch it at the moment)
* Please can we move off CVS - I cannot link to a specific change
which makes it hard to communicate about specific changes

Kudos to Andreas for the test-stubs.c file in t-tap/.

Ton






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked