Hi,
I tested your suggestion and the validation passed successfuly,
only that the bug was in shinken/objects/item.py ;)
Venelin
On Tue, May 10, 2011 at 1:10 PM, nap <naparuba@...> wrote:
>
>
> On Mon, May 9, 2011 at 3:49 PM, Venelin Petkov <petkov.venelin@...>
> wrote:
>>
>> Regarding the problem with 0.6: The problem occurs at the
>> verification stage (Tested with -v ), so it is a parsing bug. I
>> checked again the last part of shinken-specific, the notification
>> section was all commented out. Just to be sure I removed it (including
>> the 'x' in 24x7), but I still get the following:
>
> Hi,
>
> Yes, it's a bug.
>>
>> ...
>> [crash]
>>
> I think I got it. Can you try to change in the file
> shinken/objects/service.py the lines 928, 939 and 942 (in the method
> evaluate_hostgroup_expression). And change them from:
> return res
> to
> return ""
>
> It's the value used for an error exit, but it was not changed from list to
> string during some last changes.
>
> I think it will show you the real error, maybe a unknown hostgroup name or
> something like this. I'll also try to reproduce it and add a test case for
> it :)
>
>
>
> Jean
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@...
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>
|