[Nagios-devel] tiny patch for nagios head

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

[Nagios-devel] tiny patch for nagios head

Post by Guest »

I found out that NEB modules get initialized before nagios parses its
config objects. That doesn't work so well for me, so I added these 4 lines
to nagios.c. The goal is to send NEB modules notification after object
initialization is done. This might not be the best way to do it, but I'd
really like some way to have my NEB module be able to look at
configuration objects before steady state begins.


616a617,621
> #ifdef USE_EVENT_BROKER
> /* send program data to broker */
> broker_program_state(NEBTYPE_PROCESS_START,NEBFLAG_PROCESS_INITIATED,NEBATTR_NONE,NULL);
> #endif
>











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