FW: Correct Syntax for check_flexlm (fwd)

Kaplan, Andrew H. AHKAPLAN at PARTNERS.ORG
Wed Jan 29 18:16:05 CET 2003


Sg,

I am including the utils.pm, check_flexlm, and nrpe.cfg files for your perusal.

I am not having any luck, getting the check_flexlm plug-in to work. 

Thanks in advance for the help...



-----Original Message-----
From: Kaplan, Andrew H. 
Sent: Wednesday, January 29, 2003 8:48 AM
To: ''
Cc: 'nagios-users at lists.sourceforge.net'
Subject: RE: [Nagios-users] Correct Syntax for check_flexlm (fwd)


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
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: utils.pm.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030129/15b6138c/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check_flexlm.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030129/15b6138c/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nrpe.cfg.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030129/15b6138c/attachment-0002.txt>


More information about the Users mailing list