Correct Syntax for check_flexlm (fwd)
Subhendu Ghosh
sghosh at sghosh.org
Wed Jan 29 21:10:32 CET 2003
-F is used for the license.dat file not the lmstat utility
I'll take a look at the files a bit later...
-sg
On Wed, 29 Jan 2003, Kaplan, Andrew H. wrote:
> Hi Sg,
>
> I ran the command ./check_flexlm -F=/exports/apps/matlab/etc/lmstat and got the
> following results:
>
> 1. A series of lines that read USE OF UNINITIALIZED VALUE IN CONCATENATION (.)
> OR STRING AT ./CHECK_FLEXLM LINE 87, <CMD> LINE 12.
> 2. These were followed by the line LICENSE SERVER NOT RUNNING
>
> I ran the lmstat command itself and it confirmed the license was up an running.
>
> -----Original Message-----
> From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> Sent: Tuesday, January 28, 2003 11:42 PM
> To: 'nagios-users at lists.sourceforge.net'
> Subject: RE: [Nagios-users] Correct Syntax for check_flexlm (fwd)
>
>
> Can you run it on the cmdline on the nrpe server?
>
> Is the error from the plugin or via check_nrpe?
>
> -sg
>
>
> On Tue, 28 Jan 2003, Kaplan, Andrew H. wrote:
>
> > Hi Sg,
> >
> > I configured the utils.pm file to reflect the correct path to lmstat. The
> > use lib
> > statement in the check_flexlm plugin included the libexec directory where
> > utils.pm
> > is located. I stopped and restarted the nrpe client on the server.
> >
> > The error message I am getting is RETURN CODE OF 112 IS OUT OF BOUNDS.
> >
> > Your thoughts?
> >
> > -----Original Message-----
> > From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> > Sent: Saturday, January 25, 2003 12:15 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: RE: [Nagios-users] Correct Syntax for check_flexlm (fwd)
> >
> >
> >
> >
> > ---------- Forwarded message ----------
> > Date: Sat, 25 Jan 2003 00:12:16 -0500 (EST)
> > From: Subhendu Ghosh <sghosh at sghosh.org>
> > To: "Kaplan, Andrew H." <AHKAPLAN at PARTNERS.ORG>
> > Cc: nagios-user at lists.sf.net
> > Subject: RE: [Nagios-users] Correct Syntax for check_flexlm
> >
> > the server and the license.dat need to exist on the server that the plugin
> > is running on. If you are using nrpe - install the plugin on the flexlm
> > server and make sure the path to lmstat is correct. - note the path is set
> > in "utils.pm" and not the plugin itself. so utils.pm needs to present and
> > the "use lib" statement in the plugin must include the directory where
> > "utils.pm" is copied.
> >
> > -sg
> >
> > On Fri, 24 Jan 2003, Kaplan, Andrew H. wrote:
> >
> > > If I understand you correctly, I have to install the flexlm license server
> > and
> > > its
> > > associated license.dat file on the nagios server even though the "real"
> > server
> > > is
> > > on the client running the nrpe program?
> > >
> > > -----Original Message-----
> > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> > > Sent: Friday, January 24, 2003 4:43 PM
> > > To: Kaplan, Andrew H.
> > > Cc: Nagios-Users (E-mail)
> > > Subject: Re: [Nagios-users] Correct Syntax for check_flexlm
> > >
> > >
> > >
> > > When you run "configure", it searches for the "lmstat" program from
> > > GlobeTrotter and configures the path to the exec.
> > >
> > > So even if flexlm is not running on the nagios server, you need to intall
> > > the flexlm utilities like lmstat and the appropriate flexlm config file.
> > >
> > > -sg
> > >
> > > On Fri, 24 Jan 2003, Kaplan, Andrew H. wrote:
> > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Kaplan, Andrew H.
> > > > > Sent: Friday, January 24, 2003 9:35 AM
> > > > > To: Nagios-Users (E-mail)
> > > > > Subject: Correct Syntax for check_flexlm
> > > > >
> > > > > Hi there,
> > > > >
> > > > >
> > > > > I want to monitor the flexlm server on a Linux box. I am currently
> > receiving
> > > > > the error message:
> > > > >
> > > > > cannot find "lmstat"
> > > > >
> > > > > Here is what I have so far:
> > > > >
> > > > > Nagios server:
> > > > >
> > > > > check_commands.cfg:
> > > > >
> > > > > # 'check_flexlm' command definition
> > > > > define command{
> > > > > command_name check_flexlm
> > > > > command_line $USER1$/check_flexlm -F
> $FILENAME$
> > > > > }
> > > > >
> > > > > services.cfg:
> > > > >
> > > > > check_command check_nrpe!check_flexlm
> > > > >
> > > > > Nagios client machine:
> > > > >
> > > > > nrpe.cfg:
> > > > >
> > > > > command[check_flexlm]=/usr/local/nagios/libexec/check_flexlm -F
> > > > > /exports/apps/matlab/etc/lmstat
> > > > >
> > > > >
> > > > > Any ideas?
> > > > >
> > > >
> > > >
> >
> >
>
>
--
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
More information about the Users
mailing list