Page 1 of 1

Re: [Nagios-devel] New field in service_struct

Posted: Tue Mar 23, 2010 2:31 pm
by Guest
This is a multi-part message in MIME format.
--------------080607090307010503000003
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

You were right. I comment out broker module and it works. Thanks.

Le 23/03/2010 16:14, Samuel Mutel a écrit :
> It's very strange because I do a make clean and a make distclean just
> before start compil process.
>
> Le 23/03/2010 16:04, Andreas Ericsson a écrit :
>
>> On 03/23/2010 03:02 PM, Samuel Mutel wrote:
>>
>>
>>> Hello,
>>>
>>> I want to add in objects.h a field to service_struct so I put after "int
>>> last_state;"
>>> int last_state_before_flapping;
>>>
>>> For the moment, I just put this line. When I compil Nagios and after a
>>> notification, the process crash with Program received signal SIGSEGV,
>>> Segmentation fault.
>>>
>>> Do you have an idea ?
>>>
>>>
>>>
>> If you're using any kind of eventbroker module that access raw service
>> objects, they will need to be re-compiled or Nagios will crash.
>>
>> If you're re-building without making sure all sources that use the
>> objects.h header file is recompiled (not just re-linked), you'll get
>> a crash.
>>
>> Other than that, I really can't think of anything.
>>
>>
>>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>

--------------080607090307010503000003
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit







You
were right. I comment out broker module and it works.
Thanks.

Le 23/03/2010 16:14, Samuel Mutel a écrit :

It's very strange because I do a make clean and a make distclean just
before start compil process.

Le 23/03/2010 16:04, Andreas Ericsson a écrit :


On 03/23/2010 03:02 PM, Samuel Mutel wrote:



Hello,

I want to add in objects.h a field to service_struct so I put after "int
last_state;"
int last_state_before_flapping;

For the moment, I just put this line. When I compil Nagios and after a
notification, the process crash with Program received signal SIGSEGV,
Segmentation fault.

Do you have an idea ?




If you're using any kind of eventbroker module that access raw service
objects, they will need to be re-compiled or Nagios will crash.

If you're re-building without making sure all sources that use the
objects.h header file is recompiled (not just re-linked), you'll get
a crash.

Other than that, I really can't think of anything.






------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-devel mailing list
[email protected]
<a class="moz-txt-link-freetext" href="https

...[email truncated]...


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