[Nagios-users] Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED]

Larry Low llow at telesphere.com
Thu Oct 18 22:08:39 CEST 2007


Note too that you probably will only notice a problem if you have
subroutines in your ePN script.

It might be a good idea to either make a note or enable perl caching by
default when using embedded perl as embedded perl is a waste without perl
caching.

----
Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ  85251
Office: 480.385.7045
E-mail: llow at telesphere.com'

Telesphere Networks, Inc


-----Original Message-----
From: nagios-devel-bounces at lists.sourceforge.net
[mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf Of Ethan
Galstad
Sent: Thursday, October 18, 2007 12:40 PM
To: Nagios Developers List
Subject: Re: [Nagios-devel] [Nagios-users] Nagios 3.0b5 - ePN and perl
caching [SEC=UNCLASSIFIED]

Rock on.  No need to worry about implications too much right now.  If it 
doesn't work for beta users, the patch can be rolled back.

I'm not an epn user, so I can't really verify if this works as intended. 
  Can folks who use the epn extensively see if the this works okay, or 
breaks anything?

Larry Low wrote:
> I think I may have found a solution.
> 
> Adding the following right before 'eval $hndlr' should work.  I am unsure
of
> the implications though.
> 
> no strict 'refs';
> undef %{$package.'::'};
> use strict 'refs';
> 
> ----
> Larry Low
> 4150 N Drinkwater Blvd., 5th Floor
> Scottsdale, AZ  85251
> Office: 480.385.7045
> E-mail: llow at telesphere.com'
> 
> Telesphere Networks, Inc
> 
> -----Original Message-----
> From: nagios-devel-bounces at lists.sourceforge.net
> [mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf Of Andreas
> Ericsson
> Sent: Tuesday, October 16, 2007 10:56 AM
> To: Nagios Developers List
> Subject: Re: [Nagios-devel] [Nagios-users] Nagios 3.0b5 - ePN and perl
> caching [SEC=UNCLASSIFIED]
> 
> Larry Low wrote:
>> I am posting this to the devel list to see if anyone has any answers.
>>
>> I look through the code and I don't see how the package that is created
> for
>> the plugin is being uncached when the mtime changes.  Can someone point
me
>> in the code where this is taking place.  The problem I am having is
>> definitely being caused by the package not being removed from memory.
>>
> 
> I'd help if I could, but I'm one of the few people that grok asm better
> than perl, so I'm not really the right guy for it :-/
> 
> (removed nagios-users from CC, as it doesn't really belong there)
> 


-- 


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/




More information about the Developers mailing list