Re: [Nagios-devel] Event Profiler Patch

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] Event Profiler Patch

Post by Guest »

Steven D. Morrey wrote:
> I made it a compile time option in my patch for ease of insertion in the existing code base.
> It would be trivial to convert it to a config file option.
> Just add a new option and track it with a global variable, then search and replace all of the #ifdef EVENT_PROFILE tags with a simple if(gEvent_Profile_Enabled)
> After that it's just a matter of tracking down the unmatched #endif's and that should be it.
> If there is interest in it, I can update the code to do this and submit a new patch.
>
I would definitely be interested in having this as a configuration
option, I think this can be helpful during diagnoses. if there isn't
much impact and Andreas is okay with this, I'd like to see this feature ;)
if your patch is in already and you'd like me to make a new one to
implement this, I don't mind. thanks again for this.

> Sincerely,
> Steve
> ________________________________________
> From: Andreas Ericsson [[email protected]]
> Sent: Saturday, June 06, 2009 10:31 AM
> To: [email protected]; Nagios Developers List
> Subject: Re: [Nagios-devel] Event Profiler Patch
>
> Hiren Patel wrote:
>> Andreas Ericsson wrote:
>>> Mathieu Gagné wrote:
>>>> On 6/5/09 6:29 PM, Steven D. Morrey wrote:
>>>>> p.s. Let me know how that patch goes on a 3x system I don't have a
>>>>> running 3x to test it on, so all i can promise with that one is that it compiles :)
>>>> I'm trying it on a Nagios 3.0.6 system. Note that I had to remove all
>>>> references to EVENT_CHECK_PROGRAM_UPDATE because it's an event only
>>>> available in Nagios 3.1.x.
>>>>





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