New field in service_struct

Michael Friedrich michael.friedrich at univie.ac.at
Tue Mar 23 16:37:02 CET 2010


-------- Original Message  --------
Subject: Re: [Nagios-devel] New field in service_struct
From: Samuel Mutel <smutel at opennms-fr.org>
To: Andreas Ericsson <ae at op5.se>
Date: 2010-03-23 16:14

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

Andreas is talking about modules - do you have any neb modules like 
ndoutils or merlin installed? Then you need to adapt their object.h and 
recompile/reinstall too.
If you might have one of those enabled, try to disable them and start 
Nagios again in the first place.

Kind regards,
Michael

> 
> 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
> 


-- 
DI (FH) Michael Friedrich
michael.friedrich at univie.ac.at
Tel: +43 1 4277 14359

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

------------------------------------------------------------------------------
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




More information about the Developers mailing list