Open yisrael-vayyar opened 2 years ago
I believe this would require access to the flexlm Log per service which tracks denials - denials are usually when no license is available but can also be from the use of options files to restrict usage. I know bigger monitoring companies use agents loaded on the license server directly to share the data back to the Monitoring server, not sure what is possible to implement this on this type of project.
lmstat displays the pending licenses
Hi @yisrael-vayyar, can you please provide some lmstat anonymized outputs for implementing this? we need to extend the test cases as well for this feature request. Thank you!
@mjtrangoni see below:
lmstat - Copyright (c) 1989-2016 Flexera Software LLC. All Rights Reserved. Flexible License Manager status on Sun 8/20/2023 12:25
License server status: 27096@mxxxx2,27096@mxxxx2-xxx01,27096@mxxxx2-xx02 License file(s) on mxxxx2: /usr/path1/path2/license/mxxxx2.lic:
mxxxx2: license server UP (MASTER) v11.14.0 mxxxx2-xxx01: license server UP v11.14.0 mxxxx2-xx02: license server UP v11.14.0
Vendor daemon status (on mxxxx2):
dvtlmd: UP v11.14.0
Feature usage info:
Users of dvt_e: (Total of 10 licenses issued; Total of 10 licenses in use)
"dvt_e" v2.0, vendor: dvtlmd, expiry: 15-nov-2023 floating license
user1 xxxx219 7687 (v2.0) (mxxxx2/27090 588), start Sun 8/20 11:27
user2 xxxx179 28727 (v2.0) (mxxxx2/27090 18837), start Sun 8/20 11:35
user3 xxxx176 17917 (v2.0) (mxxxx2/27090 1680), start Sun 8/20 11:37
user4 xxxx015 24190 (v2.0) (mxxxx2/27090 10797), start Sun 8/20 11:38
user5 xxxx178 13347 (v2.0) (mxxxx2/27090 7284), start Sun 8/20 11:42
user6 xxxx191 8470 (v2.0) (mxxxx2/27090 11875), start Sun 8/20 11:55
user7 xxxx209 32331 (v2.0) (mxxxx2/27090 3960), start Sun 8/20 12:05
user8 xxxx174 14473 (v2.0) (mxxxx2/27090 1279), start Sun 8/20 12:08
user9 xxxx139 23757 (v2.0) (mxxxx2/27090 18155), start Sun 8/20 12:12
user10 xxxx218 60874 (v2.0) (mxxxx2/27090 3264), start Sun 8/20 12:18
user11 xxxx267 32625 (v2.0) (mxxxx2/27090 14571) queued for 1 license
user12 xxxx009 10301 (v2.0) (mxxxx2/27090 16354) queued for 1 license
user13 xxxx191 19822 (v2.0) (mxxxx2/27090 19546) queued for 1 license
user14 xxxx275 30470 (v2.0) (mxxxx2/27090 4862) queued for 1 license
lmstat - Copyright (c) 1989-2016 Flexera Software LLC. All Rights Reserved. Flexible License Manager status on Sun 8/20/2023 12:25
License server status: 27096@mxxxx2,27096@mxxxx2-xxx01,27096@mxxxx2-xx02 License file(s) on mxxxx2: /usr/path1/path2/license/mxxxx2.lic:
mxxxx2: license server UP (MASTER) v11.14.0 mxxxx2-xxx01: license server UP v11.14.0 mxxxx2-xx02: license server UP v11.14.0
Vendor daemon status (on mxxxx2):
dvtlmd: UP v11.14.0 Feature usage info:
Users of dvt_e: (Total of 10 licenses issued; Total of 10 licenses in use)
"dvt_e" v2.0, vendor: dvtlmd, expiry: 15-nov-2023 floating license
user1 xxxx219 7687 (v2.0) (mxxxx2/27090 588), start Sun 8/20 11:27 user2 xxxx179 28727 (v2.0) (mxxxx2/27090 18837), start Sun 8/20 11:35 user3 xxxx176 17917 (v2.0) (mxxxx2/27090 1680), start Sun 8/20 11:37 user4 xxxx015 24190 (v2.0) (mxxxx2/27090 10797), start Sun 8/20 11:38 user5 xxxx178 13347 (v2.0) (mxxxx2/27090 7284), start Sun 8/20 11:42 user6 xxxx191 8470 (v2.0) (mxxxx2/27090 11875), start Sun 8/20 11:55 user7 xxxx209 32331 (v2.0) (mxxxx2/27090 3960), start Sun 8/20 12:05 user8 xxxx174 14473 (v2.0) (mxxxx2/27090 1279), start Sun 8/20 12:08 user9 xxxx139 23757 (v2.0) (mxxxx2/27090 18155), start Sun 8/20 12:12 user10 xxxx218 60874 (v2.0) (mxxxx2/27090 3264), start Sun 8/20 12:18 user11 xxxx267 32625 (v2.0) (mxxxx2/27090 14571) queued for 1 license user12 xxxx009 10301 (v2.0) (mxxxx2/27090 16354) queued for 1 license user13 xxxx191 19822 (v2.0) (mxxxx2/27090 19546) queued for 1 license user14 xxxx275 30470 (v2.0) (mxxxx2/27090 4862) queued for 1 license
Hi,
Count of pending licenses per feature can assist in evaluating if and how much addition of new licenses are required.
excellent and useful exporter. Thanks!