Monitoring FLEXnet License Manager
Would anybody be willing to share their experience in monitoring LEXnet License Manager with Hobbit?
I have been doing that, by simply monitoring the network port of the service, and users complain that it is not enough. Allegedly, it seems to continue to listen to the assigned ports, but stops handing out Matlab (...) licenses to the users.
For those that have absolutely no idea of what I am talking about, this is a license manager, that among other things, is used for Matlab, Abacus, Maple and other engineering software. It runs as a network daemon, usually on port 27000 or close to that.
So before I start rummaging in the shire, and reviving the dead cat, I would like to know if anybody would share their experience on the subject?
-- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
In <1209549088.9955.43.camel at ripley.rhi.hi.is> Anna Jonna Armannsdottir <annaj at hi.is> writes:
For those that have absolutely no idea of what I am talking about, this is a license manager, that among other things, is used for Matlab, Abacus, Maple and other engineering software. It runs as a network daemon, usually on port 27000 or close to that.
Wouldn't there be some commandline utility from the FLEXnet package that you can use, e.g. to query the number of currently in-use licenses ? As long as it contacts the network daemon it can be used to check that the daemon is running, and then you can probably make a custom test wrapper around the command line tool, and generate the Hobbit status based on this.
Regards, Henrik
On mið, 2008-04-30 at 11:28 +0000, Henrik Stoerner wrote:
Wouldn't there be some commandline utility from the FLEXnet package that you can use, e.g. to query the number of currently in-use licenses ? As long as it contacts the network daemon it can be used to check that the daemon is running, and then you can probably make a custom test wrapper around the command line tool, and generate the Hobbit status based on this.
Hi Henrik, you are right (as usually :) . Now it is time to talk to the other sysadmins and see what they know of such a command line utility, but I am sure they have talked about it. Thanks.
-- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
Hi,
Usually you have a flexlm utility called lmstat, which used with the -a switch will produce some rather verbose output you can then parse.
Regards, Stephane
Anna Jonna Armannsdottir a écrit :
On mið, 2008-04-30 at 11:28 +0000, Henrik Stoerner wrote:
Wouldn't there be some commandline utility from the FLEXnet package that you can use, e.g. to query the number of currently in-use licenses ? As long as it contacts the network daemon it can be used to check that the daemon is running, and then you can probably make a custom test wrapper around the command line tool, and generate the Hobbit status based on this.
Hi Henrik, you are right (as usually :) . Now it is time to talk to the other sysadmins and see what they know of such a command line utility, but I am sure they have talked about it. Thanks.
--
Stephane Caminade Administrateur Systemes et Reseaux \ <Stephane.Caminade at ias.u-psud.fr> Institut d'Astrophysique Spatiale / tel : (33) (1) 69 85 87 03 Batiment 121, Universite Paris XI \ fax : (33) (1) 69 85 86 75 F-91405 ORSAY Cedex / www : http://www.ias.u-psud.fr/
I believe there is a Flex LM module on deadcat. It might be what you are looking for.
Cheers V
-----Original Message----- From: Stephane Caminade [mailto:stephane.caminade at ias.u-psud.fr] Sent: Wednesday, 30 April 2008 8:29 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Monitoring FLEXnet License Manager
Hi,
Usually you have a flexlm utility called lmstat, which used with the -a switch will produce some rather verbose output you can then parse.
Regards, Stephane
Anna Jonna Armannsdottir a écrit :
On mið, 2008-04-30 at 11:28 +0000, Henrik Stoerner wrote:
Wouldn't there be some commandline utility from the FLEXnet package that you can use, e.g. to query the number of currently in-use licenses ? As long as it contacts the network daemon it can be used to check that the daemon is running, and then you can probably make a custom test wrapper around the command line tool, and generate the Hobbit status based on this.
Hi Henrik, you are right (as usually :) . Now it is time to talk to the other sysadmins and see what they know of such a command line utility, but I am sure they have talked about it. Thanks.
--
Stephane Caminade Administrateur Systemes et Reseaux \ <Stephane.Caminade at ias.u-psud.fr> Institut d'Astrophysique Spatiale / tel : (33) (1) 69 85 87 03 Batiment 121, Universite Paris XI \ fax : (33) (1) 69 85 86 75 F-91405 ORSAY Cedex / www : http://www.ias.u-psud.fr/
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
Have you checked out deadcat? There's a couple of flexlm scripts there you could probably use as a start
-Grs- Gregory R Shea EMC Corporation
-----Original Message----- From: Stephane Caminade [mailto:stephane.caminade at ias.u-psud.fr] Sent: Wednesday, April 30, 2008 8:29 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Monitoring FLEXnet License Manager
Hi,
Usually you have a flexlm utility called lmstat, which used with the -a switch will produce some rather verbose output you can then parse.
Regards, Stephane
Anna Jonna Armannsdottir a écrit :
On mið, 2008-04-30 at 11:28 +0000, Henrik Stoerner wrote:
Wouldn't there be some commandline utility from the FLEXnet package that you can use, e.g. to query the number of currently in-use licenses ? As long as it contacts the network daemon it can be used to check that the daemon is running, and then you can probably make a custom test wrapper around the command line tool, and generate the Hobbit status based on this.
Hi Henrik, you are right (as usually :) . Now it is time to talk to the other sysadmins and see what they know of such a command line utility, but I am sure they have talked about it. Thanks.
--
Stephane Caminade Administrateur Systemes et Reseaux \ <Stephane.Caminade at ias.u-psud.fr> Institut d'Astrophysique Spatiale / tel : (33) (1) 69 85 87 03 Batiment 121, Universite Paris XI \ fax : (33) (1) 69 85 86 75 F-91405 ORSAY Cedex / www : http://www.ias.u-psud.fr/
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On mið, 2008-04-30 at 14:28 +0200, Stephane Caminade wrote:
Hi,
Usually you have a flexlm utility called lmstat, which used with the -a switch will produce some rather verbose output you can then parse.
Hi Stephane, tried this: /opt/matlab/etc/lmstat -a |grep 'Users of' |grep '(Total of' After grepping the output of the command it looks like this:
Users of MATLAB: (Total of 400 licenses issued; Total of 19 licenses in use) ... 17 similar lines ... with MATLAB, SIMULINK, Communication_Toolbox, Control_Toolbox, Distrib_Computing_Toolbox, Financial_Toolbox, Fuzzy_Toolbox, Identification_Toolbox, Image_Toolbox, Neural_Network_Toolbox, Optimization_Toolbox, PDE_Toolbox, Simulink_Control_Design, Signal_Toolbox, Symbolic_Toolbox, Statistics_Toolbox, Compiler
This info could be treated in a similar way as Hobbit treats disk partitions. In this case the partitions would be MATLAB, SIMULINK, etc, and the license useage could be shown as percentage of total. That way it would be a useful tool for license management. But that is much more than I bargained for. :) Thanks for your comments.
-- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
On mið, 2008-04-30 at 11:28 +0000, Henrik Stoerner wrote:
In <1209549088.9955.43.camel at ripley.rhi.hi.is> Anna Jonna Armannsdottir <annaj at hi.is> writes:
For those that have absolutely no idea of what I am talking about, this is a license manager, that among other things, is used for Matlab, Abacus, Maple and other engineering software. It runs as a network daemon, usually on port 27000 or close to that.
Wouldn't there be some commandline utility from the FLEXnet package that you can use, e.g. to query the number of currently in-use licenses ? As long as it contacts the network daemon it can be used to check that the daemon is running, and then you can probably make a custom test wrapper around the command line tool, and generate the Hobbit status based on this.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Now there is a working version 1.0 of the Hobbit Monitor module for FLEXnet License Manager at The Shire:
http://www.trantor.org/theshire/doku.php/monitors:flexlm
Thanks to everybody for the help, hints and comments.
-- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
Looked at this on the Shire. Am I correct ,you run a different client script on each of the license servers for : Matlab, Abacus, Maple where LMSTATDIR= is set to a different directory? That is like:
/opt/matlab/etc and/or /opt/maple/where-ever?
Anna Jonna Armannsdottir wrote:
On mið, 2008-04-30 at 11:28 +0000, Henrik Stoerner wrote:
In <1209549088.9955.43.camel at ripley.rhi.hi.is> Anna Jonna Armannsdottir <annaj at hi.is> writes:
For those that have absolutely no idea of what I am talking about, this is a license manager, that among other things, is used for Matlab, Abacus, Maple and other engineering software. It runs as a network daemon, usually on port 27000 or close to that.
Wouldn't there be some commandline utility from the FLEXnet package that you can use, e.g. to query the number of currently in-use licenses ? As long as it contacts the network daemon it can be used to check that the daemon is running, and then you can probably make a custom test wrapper around the command line tool, and generate the Hobbit status based on this.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Now there is a working version 1.0 of the Hobbit Monitor module for FLEXnet License Manager at The Shire:
http://www.trantor.org/theshire/doku.php/monitors:flexlm
Thanks to everybody for the help, hints and comments.
On mán, 2008-07-07 at 14:02 -0400, michael nemeth wrote:
Looked at this on the Shire. Am I correct ,you run a different client script on each of the license servers for : Matlab, Abacus, Maple where LMSTATDIR= is set to a different directory? That is like:
/opt/matlab/etc and/or /opt/maple/where-ever?
It is the same client script (flexlm.sh) that is run for all types. Even if there are multiple servers running on a machine it copes with that. The magic lies in the license file in e.g. /opt/matlab/etc or whereever it is. I forgot to mention that the trick is to find the directory where the license file and the lmstat program, reside.
So if the license file contains information about hostnames and portnumbers for multiple license managers, the flexlm Hobbit Monitor module will display it all.
-- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
What I meant; same script but for the "magic" LMSTATDIR= line
Also, while I can get what you did to work for me easy, looks like your "set-up" is different than mine I have to do /wherethelmstatis -a -c /wherethelicensefile is. I THINK I remember you can set wherethelicensefile in and environmental variable . so this becomes /wherethelmstatis -a
Actually what I use is: /wherethelmstatis -a -c port at system that is: wherethelmstatis -a -c 22777 at mobile2 (my mathlab host) Which is nice for me since I can "contact" different license server from one host! If your lmstat returns Licence server Status: 22777 at mobile2 (mine returns License server Status: 22777 at mobile2.22777@ntw,22777 at sectcfs1 ; hope this isn't going to be a problem) Also: "10.0.0.10 host.example.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 "
Is it true that on the matlab host you get just the flexlm and flexlm1 while on the maple host you only get
I'm being very inquisitive because Im planning on post in my clearcasse and mutlisite scripts soon (don't use flexlm)and want to make sure I handle issues and am using you script and post as an example.
Aslo I may adapt to script to work like my clearcasse and mutlisite scripts; they run on my hobbit server since the clearlicense will return the info from where the license server running and I put the info in a pseudo host 0.0.0.0 licenses . I might what to do that with the flexlm too, so want to understand it well! I might not since I've 30 different instances of flexlm !
Anna Jonna Armannsdottir wrote:
On mán, 2008-07-07 at 14:02 -0400, michael nemeth wrote:
Looked at this on the Shire. Am I correct ,you run a different client script on each of the license servers for : Matlab, Abacus, Maple where LMSTATDIR= is set to a different directory? That is like:
/opt/matlab/etc and/or /opt/maple/where-ever?It is the same client script (flexlm.sh) that is run for all types. Even if there are multiple servers running on a machine it copes with that. The magic lies in the license file in e.g. /opt/matlab/etc or whereever it is. I forgot to mention that the trick is to find the directory where the license file and the lmstat program, reside.
So if the license file contains information about hostnames and portnumbers for multiple license managers, the flexlm Hobbit Monitor module will display it all.
On þri, 2008-07-08 at 07:33 -0400, michael nemeth wrote:
What I meant; same script but for the "magic" LMSTATDIR= line
Also, while I can get what you did to work for me easy, looks like your "set-up" is different than mine I have to do /wherethelmstatis -a -c /wherethelicensefile is. I THINK I remember you can set wherethelicensefile in and environmental variable . so this becomes /wherethelmstatis -a
I am not an expert on the Flex License Manager, so my answers are not complete. I have tested this on 3 license servers, Red Hat 4, Red Hat 5, and Solaris 9. All have different license manager configurations, but the flexlm Hobbit module works with all of them just out of the box, but that is probably du to the fact that it is the same person administrating them.
Anyway, the lmstat program in 2 of those installations, is in the same directory as the license file. In the third installation it is in an environment variable. In all cases the Flex LM programs, can easily find the license file. In all cases the user only has to change the path to the lmstat command. I feel we are approaching the topic "HOWTO configure Flex License Manager", and that is not my area.
Actually what I use is: /wherethelmstatis -a -c port at system that is: wherethelmstatis -a -c 22777 at mobile2 (my mathlab host) Which is nice for me since I can "contact" different license server from one host! <just touching the HOWTO topic> To get commication with the license manager through lmstat you need to specify -c license.txt This file contains the SERVER line from the license file.
If your lmstat returns Licence server Status: 22777 at mobile2 (mine returns License server Status: 22777 at mobile2.22777@ntw,22777 at sectcfs1 ; hope this isn't going to be a problem) Try it and return with the results. :)
Also: "10.0.0.10 host.example.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2| flexlm3 " Is it true that on the matlab host you get just the flexlm and flexlm1 while on the maple host you only get ?
I'm being very inquisitive because Im planning on post in my clearcasse and mutlisite scripts soon (don't use flexlm)and want to make sure I handle issues and am using you script and post as an example. OK
Aslo I may adapt to script to work like my clearcasse and mutlisite scripts; they run on my hobbit server since the clearlicense will return the info from where the license server running and I put the info in a pseudo host 0.0.0.0 licenses . I am trying hard to guess, at what you are talking about.
I might what to do that with the flexlm too, so want to understand it well! I might not since I've 30 different instances of flexlm ! And what are you using to monitor them now?
-- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
OK, not about how to configure Flexlm, need a warning that as the script stand now might not work as is; that is might not find the license.dat file. You're right not hard to find it and you'll be getting error on running your script, that can't find license.dat . So user might have to add -c .
Trying to understand what this does. For MatLab host in bb-host: "10.0.0.10 host.matlab.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " Gives graph flexlm and graph flexml1 ?
For Maple host in bb-host: "10.0.0.111 host.maple.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " while this gives only graph flexlm2 ?
Is that correct?
I think Ive TOO many license servers to create graphs for ; 31 but 3 are MATLAB so I'll haves graph for thank to you and your fine work :-) ! Plus I don't (and can't) have hobbit clients on mant of them. I was plannning on "pulling" the from non-hobbit clients with lines in your script like.
/wherethelmstatis -a -c 22777 at mobile2 (my mathlab host which doesn't have a hobbit client)
Ive not worked out how I'm going to cycle through some 30 hosts yet!
I'm going to bring up you script tomorrow just for one matlab host . So then i'll how it works
You don't (at least on the hobbit server) have do for example
$BB $BBDISP "status $MACHINE.ccl $COLOUR date $SSTATUS
you can do:
$BB $BBDISP "status licenses.ccl $COLOUR date $SSTATUS
And define in bb-hosts:
0.0.0.0 licenses# noconn
This is where the ccl dot will appear, instead of under $MACHINE This is what Ive done for my clearcase script (ccl), which I hope to post to the Shire today. But my clearcase script running on my hobbit server so I cannot tell you for sure if this trick works when you have client side scripts.
We now use custom scripts which run every 15 minutes. Produces a html table with the current use, last week, last 4 weeks, last 8 weeks, and last 12 weeks No graphs and no warning if a license is not running except there no data under current use.
Thank again for you help and flexlm script. Got me thinking of how to replace our current system.
Anna Jonna Armannsdottir wrote:
On þri, 2008-07-08 at 07:33 -0400, michael nemeth wrote:
What I meant; same script but for the "magic" LMSTATDIR= line
Also, while I can get what you did to work for me easy, looks like your "set-up" is different than mine I have to do /wherethelmstatis -a -c /wherethelicensefile is. I THINK I remember you can set wherethelicensefile in and environmental variable . so this becomes /wherethelmstatis -a
I am not an expert on the Flex License Manager, so my answers are not complete. I have tested this on 3 license servers, Red Hat 4, Red Hat 5, and Solaris 9. All have different license manager configurations, but the flexlm Hobbit module works with all of them just out of the box, but that is probably du to the fact that it is the same person administrating them.
Anyway, the lmstat program in 2 of those installations, is in the same directory as the license file. In the third installation it is in an environment variable. In all cases the Flex LM programs, can easily find the license file. In all cases the user only has to change the path to the lmstat command. I feel we are approaching the topic "HOWTO configure Flex License Manager", and that is not my area.
Actually what I use is: /wherethelmstatis -a -c port at system that is: wherethelmstatis -a -c 22777 at mobile2 (my mathlab host) Which is nice for me since I can "contact" different license server from one host!
<just touching the HOWTO topic> To get commication with the license manager through lmstat you need to specify -c license.txt This file contains the SERVER line from the license file.
If your lmstat returns Licence server Status: 22777 at mobile2 (mine returns License server Status: 22777 at mobile2.22777@ntw,22777 at sectcfs1 ; hope this isn't going to be a problem)
Try it and return with the results. :)
Also: "10.0.0.10 host.example.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2| flexlm3 " Is it true that on the matlab host you get just the flexlm and flexlm1 while on the maple host you only get
?
I'm being very inquisitive because Im planning on post in my clearcasse and mutlisite scripts soon (don't use flexlm)and want to make sure I handle issues and am using you script and post as an example.
OK
Aslo I may adapt to script to work like my clearcasse and mutlisite scripts; they run on my hobbit server since the clearlicense will return the info from where the license server running and I put the info in a pseudo host 0.0.0.0 licenses .
I am trying hard to guess, at what you are talking about.
I might what to do that with the flexlm too, so want to understand it well! I might not since I've 30 different instances of flexlm !
And what are you using to monitor them now?
On mið, 2008-07-09 at 07:48 -0400, michael nemeth wrote:
OK, not about how to configure Flexlm, need a warning that as the script stand now might not work as is; that is might not find the license.dat file. You're right not hard to find it and you'll be getting error on running your script, that can't find license.dat . So user might have to add -c .
The script assumes that the Flex License Manager configuration is correctly set up. It is not the task of the Hobbit module to correct mistakes or omissions in that. So if the user can not get correct output from running the lmstat program with the -a parameter, that is a Flex configuration problem not the problem of the flexlm Hobbit module.
To make this easier for the user, the script can be run outside of the Hobbit Monitor environment. The instructions in the script are:
For testing and verifying: Run the script in a shell and
check that the output is in /tmp/lic.txt
As you suggest,the script can be changed so that it gives a warning if lmstat can not find its information. I will post a patch soon. Thanks for the suggestion.
Trying to understand what this does. For MatLab host in bb-host: "10.0.0.10 host.matlab.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " Gives graph flexlm and graph flexml1 ?
For Maple host in bb-host: "10.0.0.111 host.maple.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " while this gives only graph flexlm2 ? Is that correct? Yes that is correct.
For both cases, it tries to generate all graphs, but if there is e.g. no Abacus License Manager on the server, then there will be no graph in flexlm3.
Take a look at the hobbitgraph.cfg.inc configuration file. There you can see, that the flexlm test fetches the MATLAB variable data in the rrd file.
Any way, the module will be rewritten in version 2.0 so that the configuration in hobbitgraph will be much better and easier for the user.
Ive been try out you script since you first post here and wasn't working fulling so I ran in the license.dat problem and had to figure out what was going on but drop working on it.
Ok with the graphs understand now.
On mið, 2008-07-09 at 07:48 -0400, michael nemeth wrote:
OK, not about how to configure Flexlm, need a warning that as the script stand now might not work as is; that is might not find the license.dat file. You're right not hard to find it and you'll be getting error on running your script, that can't find license.dat . So user might have to add -c .
The script assumes that the Flex License Manager configuration is correctly set up. It is not the task of the Hobbit module to correct mistakes or omissions in that. So if the user can not get correct output from running the lmstat program with the -a parameter, that is a Flex configuration problem not the problem of the flexlm Hobbit module.
To make this easier for the user, the script can be run outside of the Hobbit Monitor environment. The instructions in the script are:
For testing and verifying: Run the script in a shell and
check that the output is in /tmp/lic.txt
As you suggest,the script can be changed so that it gives a warning if lmstat can not find its information. I will post a patch soon. Thanks for the suggestion.
Trying to understand what this does. For MatLab host in bb-host: "10.0.0.10 host.matlab.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " Gives graph flexlm and graph flexml1 ?
For Maple host in bb-host: "10.0.0.111 host.maple.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " while this gives only graph flexlm2 ? Is that correct?
Yes that is correct.
For both cases, it tries to generate all graphs, but if there is e.g. no Abacus License Manager on the server, then there will be no graph in flexlm3.
Take a look at the hobbitgraph.cfg.inc configuration file. There you can see, that the flexlm test fetches the MATLAB variable data in the rrd file.
Any way, the module will be rewritten in version 2.0 so that the configuration in hobbitgraph will be much better and easier for the user.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Got it to work; I did have to change the UPTEST; only 3 of my product 30 license servers have MLM : UP in them. I used ".*: UP.*v.*" . Worked; correctly, detected 2 license servers that were down!!
Ive 21 products on 30 license servers, The only one Ive graph for is MATLAB so Ive got to create 20 graph defs.
Current flexlm1 graph for MATHLAB is not show up but may I made a error some where.
Anna Jonna Armannsdottir wrote:
On mið, 2008-07-09 at 07:48 -0400, michael nemeth wrote:
OK, not about how to configure Flexlm, need a warning that as the script stand now might not work as is; that is might not find the license.dat file. You're right not hard to find it and you'll be getting error on running your script, that can't find license.dat . So user might have to add -c .
The script assumes that the Flex License Manager configuration is correctly set up. It is not the task of the Hobbit module to correct mistakes or omissions in that. So if the user can not get correct output from running the lmstat program with the -a parameter, that is a Flex configuration problem not the problem of the flexlm Hobbit module.
To make this easier for the user, the script can be run outside of the Hobbit Monitor environment. The instructions in the script are:
For testing and verifying: Run the script in a shell and
check that the output is in /tmp/lic.txt
As you suggest,the script can be changed so that it gives a warning if lmstat can not find its information. I will post a patch soon. Thanks for the suggestion.
Trying to understand what this does. For MatLab host in bb-host: "10.0.0.10 host.matlab.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " Gives graph flexlm and graph flexml1 ?
For Maple host in bb-host: "10.0.0.111 host.maple.net # TRENDS:*,flexlm:flexlm|flexlm1|flexlm2|flexlm3 " while this gives only graph flexlm2 ? Is that correct?
Yes that is correct.
For both cases, it tries to generate all graphs, but if there is e.g. no Abacus License Manager on the server, then there will be no graph in flexlm3.
Take a look at the hobbitgraph.cfg.inc configuration file. There you can see, that the flexlm test fetches the MATLAB variable data in the rrd file.
Any way, the module will be rewritten in version 2.0 so that the configuration in hobbitgraph will be much better and easier for the user.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On fös, 2008-07-11 at 11:08 -0400, michael nemeth wrote:
Got it to work; I did have to change the UPTEST; only 3 of my product 30 license servers have MLM : UP in them. I used ".*: UP.*v.*" . Worked; correctly, detected 2 license servers that were down!!
That is improvement to flexlm. I will try this on my config.
Ive 21 products on 30 license servers, The only one Ive graph for is MATLAB so Ive got to create 20 graph defs.
Current flexlm1 graph for MATHLAB is not show up but may I made a error some where.
It depends on the licenses. The flexlm graph only shows the matlab graph itself, but the flexlm1 shows the graphs for the toolboxes. The flexlm1 test assumes all the following toolboxes are present:
SIMULINK, Communication_Toolbox, Control_Toolbox, Distrib_Computing_Toolbox, Financial_Toolbox, Fuzzy_Toolbox, Identification_Toolbox, Image_Toolbox, Neural_Network_Toolbox, Optimization_Toolbox, PDE_Toolbox, Simulink_Control_Design, Signal_Toolbox, Symbolic_Toolbox, Statistics_Toolbox, Compiler
If not all of them are present in the rrd file, the graph will not show up. It will be better in version 2.0
To fix this, you can remove the corresponding graph (or graphs) section in hobbitgraph.cfg . That should fix it. Hope this helps.
-- Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix System Aministration, Computing Services, %& Q: Why is top posting bad? University of Iceland.
Yes. I think I remember that now about graphs will try it and see if that works Should mean Ive got to create different "Extend count" for my three MATLABs.
Anna Jonna Armannsdottir wrote:
On fös, 2008-07-11 at 11:08 -0400, michael nemeth wrote:
Got it to work; I did have to change the UPTEST; only 3 of my product 30 license servers have MLM : UP in them. I used ".*: UP.*v.*" . Worked; correctly, detected 2 license servers that were down!!
That is improvement to flexlm. I will try this on my config.
Ive 21 products on 30 license servers, The only one Ive graph for is MATLAB so Ive got to create 20 graph defs.
Current flexlm1 graph for MATHLAB is not show up but may I made a error some where.
It depends on the licenses. The flexlm graph only shows the matlab graph itself, but the flexlm1 shows the graphs for the toolboxes. The flexlm1 test assumes all the following toolboxes are present:
SIMULINK, Communication_Toolbox, Control_Toolbox, Distrib_Computing_Toolbox, Financial_Toolbox, Fuzzy_Toolbox, Identification_Toolbox, Image_Toolbox, Neural_Network_Toolbox, Optimization_Toolbox, PDE_Toolbox, Simulink_Control_Design, Signal_Toolbox, Symbolic_Toolbox, Statistics_Toolbox, Compiler
If not all of them are present in the rrd file, the graph will not show up. It will be better in version 2.0
To fix this, you can remove the corresponding graph (or graphs) section in hobbitgraph.cfg . That should fix it. Hope this helps.
Now I have graphs for MATLAB! The MATLAB (flexlm) under the flexlm column and both the MATLAB and the extend MATLAB (flexlm1).
But cann't get any others to work, Mater of fact I don't see how you get the Maple and Abacus to work. I have neither so cannot test. But doesn't the column name have to match the graph name for a graph to appear under the column ? And the defined flexlm graph is for MATHLAB.
Anna Jonna Armannsdottir wrote:
On fös, 2008-07-11 at 11:08 -0400, michael nemeth wrote:
Got it to work; I did have to change the UPTEST; only 3 of my product 30 license servers have MLM : UP in them. I used ".*: UP.*v.*" . Worked; correctly, detected 2 license servers that were down!!
That is improvement to flexlm. I will try this on my config.
Ive 21 products on 30 license servers, The only one Ive graph for is MATLAB so Ive got to create 20 graph defs.
Current flexlm1 graph for MATHLAB is not show up but may I made a error some where.
It depends on the licenses. The flexlm graph only shows the matlab graph itself, but the flexlm1 shows the graphs for the toolboxes. The flexlm1 test assumes all the following toolboxes are present:
SIMULINK, Communication_Toolbox, Control_Toolbox, Distrib_Computing_Toolbox, Financial_Toolbox, Fuzzy_Toolbox, Identification_Toolbox, Image_Toolbox, Neural_Network_Toolbox, Optimization_Toolbox, PDE_Toolbox, Simulink_Control_Design, Signal_Toolbox, Symbolic_Toolbox, Statistics_Toolbox, Compiler
If not all of them are present in the rrd file, the graph will not show up. It will be better in version 2.0
To fix this, you can remove the corresponding graph (or graphs) section in hobbitgraph.cfg . That should fix it. Hope this helps.
participants (6)
-
annaj@hi.is
-
henrik@hswn.dk
-
michael.nemeth@lmco.com
-
shea_greg@emc.com
-
stephane.caminade@ias.u-psud.fr
-
Vernon.Everett@woodside.com.au