Re: [Nagios-devel] Found bugs in 1.1

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

Re: [Nagios-devel] Found bugs in 1.1

Post by Guest »

Thanks! These will be applied to the 1.x branch as well as HEAD.

On 21 Nov 2003 at 11:53, Jason Martin wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello, I've found a few bugs in 1.1 that may be a bit troublesome.
>
> One of them is that the 'notification_period' clause of a host is not
> required. I had a template that was missing this clause and several
> hosts that used the template. When I tried running a Nagios compiled
> w/debug enabled it coredumped when it tried to print out the host
> definition.
>
> Another is that if a service dependency has neither of the
> execution_failure_criteria or notification_failure_criteria defined it
> is silently ignored. I think a warning indicating that this 'lame'
> servicedependency exists should be thrown; I've attached a patch to
> effect this.
>
> A third is that the following causes a coredump; I think the
> servicedep duplication function should detect when its trying to set
> up an immediately circular depedency.
>
> define servicedependency{
> hostgroup_name HOSTGROUP1
> service_description Oracle
> dependent_hostgroup_name HOSTGROUP1
> dependent_service_description *
> execution_failure_criteria n
> notification_failure_criteria w,u,c
> }
>
>
> - -Jason Martin
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.3.3 (GNU/Linux)
> Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
>
> iD8DBQE/vm1Kl2ODWuqVSBMRAoKwAKCCZYLsz8hneU5XbGVZMkJoro0rSACgkewS
> ezmdnoSS5vLrJ2OfwENrDHc=
> =/gO5
> -----END PGP SIGNATURE-----



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






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