Giter VIP home page Giter VIP logo

check_rlm's Introduction

Check ISV status RLM Licence server

Check the status of a license ISV on rlm license server using rlmutil command

Where get the rlmutil

https://reprisesoftware.com/support/admin/license-administration-bundle/

What to do this script

$ rlmutil rlmstat -c [email protected] -a -i simio

Setting license file path to [email protected]
rlmutil v15.1
Copyright (C) 2006-2022, Reprise Software, Inc. All rights reserved.


        ------------------------

        simio ISV server status on srvdf2.uab.cat (port 49827), up 3d 20:11:13
        simio software version v15.1 (build: 1)
        simio comm version: v1.2
        simio info log filename: C:\ProgramData\Simio LLC\Simio Network Licensing\simio.dlog
        simio Report log filename: <stdout>
        Startup time: Thu May 16 12:30:10 2024
        Todays Statistics (08:40:33), init time: Mon May 20 00:00:50 2024
        Recent Statistics (00:01:59), init time: Mon May 20 08:39:24 2024

                     Recent Stats         Todays Stats         Total Stats
                      00:01:59             08:40:33          3d 20:11:13
        Messages:    8 (0/sec)           52 (0/sec)          40541 (0/sec)
        Connections: 4 (0/sec)           26 (0/sec)          833 (0/sec)
        Checkouts:   0 (0/sec)           0 (0/sec)          365 (0/sec)
        Denials:     0 (0/sec)           0 (0/sec)          0 (0/sec)
        Removals:    0 (0/sec)           0 (0/sec)          0 (0/sec)


        ------------------------

        simio license pool status on srvdf2.uab.cat (port 49827)

        simio-academic v2025.01, pool: 1
                count: 100, # reservations: 0, inuse: 0, exp: 09-jan-2025
                obsolete: 0, min_remove: 120, total checkouts: 0

with the stdoutput we use a regexp to capture the

  • ISV
  • SERVER
  • PORT
  • Software name
  • Pool
  • Count
  • Reservations
  • In Use
  • Expiration

and check the requirements

Usage

usage: /home/jroman/Descargas/rlm/./check_rlm.py [-h] -H SERVER -P PORT -i ISV -l NUM_LIC -w WARN_LIC -c CRIT_LIC -W WARN_EXPIRATION -C CRIT_EXPIRATION [-p RLMUTIL]

Check the state of a ISV server on rlm license server.

options:
  -h, --help          show this help message and exit
  -H SERVER           Server Name or IP
  -P PORT             Port of service
  -i ISV              ISV name
  -l NUM_LIC          Number of licences.
  -w WARN_LIC         Number of licences used for warning.
  -c CRIT_LIC         Number of licences used for critical.
  -W WARN_EXPIRATION  Days to expiration for warning.
  -C CRIT_EXPIRATION  Days to expiration for critical.
  -p RLMUTIL          rlmutil path.

2024(JRM - UAB - SID SBD)

check_rlm's People

Contributors

jordiroman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.