[hobbit] Monitoring FLEXnet License Manager
Well I got every thing to work in my own way. Anna I'll email direct if you want exactly what I did, but basicly I turned it in to a server side network type test .
But two general Items, first some products/features produce string that are not unique with in the first 19 charactors; rrdtool DS names can only be 19 long.
Next I decide to track max number of licenses for products/features.
Some of our 30 products
are hitting the max on a regular basis! I thought about a "limits
feature (90% yellow ,95+ red) but
could not figure a way to do this for 30 products and many more feature.
By changing the awk printf
from:
$AWK '{printf "%.19s : %d \n", $3, $11 }'
to:
$AWK '{printf "M%.19s : %d \n "%.19s : %d \n", $3, $6, $3, $11 }'
(I think that typed right).
So I get something like : MMATHLAB : 122 MATHLAB : 99 MSIMULINK : 5 SIMULINK : 1 . . .
NOTE!!!! if you do this I fairly sure your going to have to wipe out the current flexlm.rrd first.
I found the rrd-status.log a great help in debuging.
On fim, 2008-07-17 at 12:38 -0400, michael nemeth wrote:
By changing the awk printf from: $AWK '{printf "%.19s : %d \n", $3, $11 }' to: $AWK '{printf "M%.19s : %d \n "%.19s : %d \n", $3, $6, $3, $11 }' (I think that typed right).
This is very similar to the awk line in version 1.4 in the flexlm.sh script. However, the license usage was calculated as percentage of the maximum value. I simplified it when I was debugging the RRD graphing problems.
Please send the script. Preferably both to the list and to me. I would very much like to see the part of your script that retrieves the license information through the network daemons.
-- 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 will probable not until Monday. Its basicly lmstat -a -c 1700 at mysys.com Where I get that "1700 at mysys.com" from a configuration list in this format: Product port at system like: MATLAB_7.0_mysys 1700 at mysys.com
Anna Jonna Armannsdottir wrote:
On fim, 2008-07-17 at 12:38 -0400, michael nemeth wrote:
By changing the awk printf from: $AWK '{printf "%.19s : %d \n", $3, $11 }' to: $AWK '{printf "M%.19s : %d \n "%.19s : %d \n", $3, $6, $3, $11 }' (I think that typed right).
This is very similar to the awk line in version 1.4 in the flexlm.sh script. However, the license usage was calculated as percentage of the maximum value. I simplified it when I was debugging the RRD graphing problems.
Please send the script. Preferably both to the list and to me. I would very much like to see the part of your script that retrieves the license information through the network daemons.
participants (2)
-
annaj@hi.is
-
michael.nemeth@lmco.com