New field in service_struct

Samuel Mutel smutel at opennms-fr.org
Tue Mar 23 16:29:55 CET 2010


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
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20100323/0217b982/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list