[Nagiosplug-help] tomcat plugin

Subhendu Ghosh sghosh at sghosh.org
Mon Nov 18 06:54:06 CET 2002


change the line that reads [use lib utils.pm]
to [use lib "/usr/local/nagios/libexec"] 

or the directory where your store your plugins..

-sg


On Sun, 17 Nov 2002, Michael Feld wrote:

> 
> I hate to be the bonehead, but I'm not the perl-meister, unfortunately,
> so I'm wondering what would be causing the following error when trying
> to run check_javaproc.pl on the command line:
> 
> root at backup michael]# ./check_javaproc.pl Can't locate utils.pm in @INC
> (@INC contains: utils.pm /usr/lib/perl5/5.6.1/i386-linux
> /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux
> /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
> /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at
> ./check_javaproc.pl line 32. BEGIN failed--compilation aborted at
> ./check_javaproc.pl line 32.
> 
> Any help would be appreciated.  We're running perl 5.6.1 if it wasn't
> too painfully obvious from the error itself. :)
> 
> Michael
> 
> 
> > -----Original Message-----
> > From: Subhendu Ghosh <sghosh at sghosh.org>
> > Sent: Sun Nov 17 15:31:49 EST 2002
> > To: Nagiosplug-help at lists.sourceforge.net
> > Subject: Re: [Nagiosplug-help] tomcat plugin
> > 
> > 
> > attached.
> > 
> > It should be in cvs - and possibly the CVS tarball.
> > 
> > On Sun, 17 Nov 2002, Michael Feld wrote:
> > 
> > > 
> > > perhaps I have the wrong source tarball, but contrib/check_javaproc.pl
> > > doesn't exist in mine.  I've downloaded all the latest versions from the
> > > downloads page, including the beta version.  If you could point me to
> > > where I might get a tarball that contains that script, I'd appreciate
> > > it.  Thanks.
> > > 
> > > > -----Original Message-----
> > > > From: Subhendu Ghosh <sghosh at sghosh.org>
> > > > Sent: Sun Nov 17 13:24:00 EST 2002
> > > > To: Michael Feld <michael.nagiosplughelp at incamail.com>
> > > > Subject: Re: [Nagiosplug-help] tomcat plugin
> > > > 
> > > > 
> > > > 
> > > > 
> > > > On Sun, 17 Nov 2002, Michael Feld wrote:
> > > > 
> > > > > 
> > > > > 
> > > > > I've been looking, but haven't found as of yet, for a plugin to monitor
> > > > > tomcat/servlet engine-type services.  Is there one available?  We're
> > > > > using tomcat without the http connector, using mod_jk.  Thanks.
> > > > > 
> > > > 
> > > > contrib/check_javaproc.pl to see if the process is running
> > > > 
> > > > -- 
> > > > 
> > > > 
> > > > 
> > > > 
> > 
> > -- 
> > 
> > 
> 
> ------------------------------------------------------------
> Tired of spam and email overload?
> Get a FREE 6MB email account at http://www.incamail.com
> 

-- 






More information about the Help mailing list