[hobbit] Monitoring FLEXnet License Manager
Anna Jonna Armannsdottir
annaj at hi.is
Wed Jul 9 15:07:12 CEST 2008
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.
More information about the Xymon
mailing list