Xymon Mailing List Archive search

Monitoring FLEXnet License Manager

list Michael Nemeth
Thu, 17 Jul 2008 13:28:56 -0400
Message-Id: <user-ecd06f59ab4d@xymon.invalid>

OK will probable not until Monday.
Its basicly lmstat -a -c  user-a86a80044b48@xymon.invalid
Where I get that "user-a86a80044b48@xymon.invalid" from a configuration list in this format:
Product port at system
like:
MATLAB_7.0_mysys user-a86a80044b48@xymon.invalid


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.