Re: [Nagios-devel] New field in service_struct

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] New field in service_struct

Post by Guest »

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.

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.





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