Hi,

thanks for reporting and fixing!

Will be pushed into GIT soon for 1.0.4 :-)

Kind regards,
Michael


On 2010-08-27 15:24, Vitali Voroth wrote:
>  Hi!
>
> Unfortunately there was a bug in the escalation conditions.
> Yes, I didn't test them enough ;-)
>
> There will be a segfault during the processing of configuration files if
> you define one escalation (with escalation conditions) for more than
> one host/service using the 'time saving tricks' ([1], [2]).
>
> There are two files attached, one for icinga 1.0.1 and another for 1.0.2.
>   - escalation_conditions_patch-icinga1.0.1.patch
>     This one is for icinga 1.0.1 and is tested
>
>   - escalation_conditions_patch-icinga1.0.2.patch
>     This is not tested but should work fine for 1.0.2 and 1.0.3
>     since there were no changes in 1.0.3 in the xodtemplate.c
>
> Example configurations which would cause the sigfault:
>
> define hostescalation{
>     host_name                      host1,host2,host3
>     ...
> }
>
> define hostescalation{
>     hostgroup_name           escalation-hosts
>     ...
> }
>
> define serviceescalation{
>     servicegroup_name       escalation-services
>     ...
> }
>
>
> [1] 
> http://docs.icinga.org/latest/en/objecttricks.html#objecttricks-hostescalation
>  
>
> [2] 
> http://docs.icinga.org/latest/en/objecttricks.html#objecttricks-serviceescalation
>  
>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
>
>
> _______________________________________________
> icinga-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-devel
>    


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  [email protected]
phone:  +43 1 4277 14359
fax:    +43 1 4277 14279
web:    http://www.univie.ac.at/zid

Icinga Core&  IDOUtils Developer
http://www.icinga.org


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
icinga-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-devel

Reply via email to