[EMAIL PROTECTED] wrote: > Dear Larry, > > I am writing to thank you for your letter and say, > >> -----Original Message----- > >> Message: 9 >> Date: Tue, 9 Oct 2007 17:01:41 -0700 >> From: "Larry Low" <[EMAIL PROTECTED]> >> Subject: [Nagios-users] Nagios 3.0b5 - ePN and perl caching >> >> The problem I am having is with subroutines inside of perl scripts ran > >> under the ePN. If a subroutine is defined the next time the script or > >> similar script is executed the ePN compile fails with a duplicate >> subroutine reported as the problem. >> >> I believe this problem does not exist under the 2.x code. > > Do you mean that, after you change a plugin that Nagios is running, ePN > fails to compile the modified plugin with this (spurious) error code ? > > If so, I am running 2.9 and have this problem. > > Reluctantly I have found that the only way to deal with this is restart > Nagios after a plugin mod. >
Umm, wouldn't it be enough to just stash away the mtime of the plugin when it's run and re-cache it whenever it's been modified? It seems straightforward enough, but perhaps I've missed something? -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- 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-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null