Found bugs in 1.1
Ethan Galstad
nagios at nagios.org
Sun Nov 23 02:05:19 CET 2003
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: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
More information about the Developers
mailing list