Interfacing Juniper License Manager with OpenLM
Israel +972 4 6308447      USA +1 619 831 0029         UK +44 203 807 9405         JAPAN +81 505 893 6263 担当:萩原         Japan Website

Interfacing Juniper License Manager with OpenLM

You are here:
< All Topics


This document describes the steps required to interface OpenLM with the Juniper License manager to monitor license usage and obtain license statistics.

1. Requirements

To query the license manager the following actions and requirements must be met:

  1. OpenLM Server v2x or higher installed on a machine in your organization
  2. OpenLM Broker v21.11 or higher installed on the same machine as the Juniper
  3. A dedicated Juniper device user with View permission

Note: The default commands in Broker are based on plink.exe (Windows) and sshpass (Linux). This way a password can be added to the command line to access data through SSH.

However, you can change commands to plain SSH for security purposes. To do it, generate a keypair and install keys to Juniper and Broker servers. (See ssh-keygen and ssh-copy-id commands manual). This way SSH connection can be established without a password prompt.

2. Monitoring capabilities and features

The current monitoring capabilities available for Juniper through the OpenLM Broker are as follows:

Feature Resolution License totals License usage Denials Reporting Borrowed License Reporting Expiration Date Reporting Multiple Server Redundancy
Support By minute

Additionally, using the Broker component allows for buffered communication and the ability to remotely start/stop the license manager service.

3. OpenLM Broker configuration

Diagram of how OpenLM interfaces with the Juniper

OpenLM Broker queries the license manager locally. Once this data is collected, it is sent to OpenLM Server for processing.

Please note that OpenLM Broker must already be installed and configured to report to OpenLM Server before proceeding further.

Windows Configuration:

  1. Download plink.exe or install the Putty package with plink from
  2. Open the command prompt
  3. Get the host key by running the command: plink -ssh -pw {$password} -batch {$user} “show system license;show security ike active-peer”
  4. The hostkey, as depicted below, will be required later in the Broker command data_inquiry. Example:

“{path to the plink}\plink” -hostkey {hostkey} -ssh -pw {password} -batch {username}@ “show system license;show security ike active-peer”

Broker Configuration

  1. Access the Broker web UI, where the Juniper License Manager is installed.
  2. Click on the License Managers tab→Add License Manager. An ADD LICENSE MANAGER popup appears.
  3. Enter the Juniper LM port number.
  4. Select Juniper from the “LM Type” drop-down menu. Click ADD.
  5. Select the Commands tab. Under the Data Inquiry, and edit the parameters hostkey, password.
  6. Switch to the Vendors tab. Click Add Vendor→ Enter Juniper in the “Vendor Name” field then click CONTINUE. (Otherwise defaulted).
  7. Click SAVE.

4. OpenLM Server configuration

Automatic OpenLM Server configuration through EasyAdmin User Interface

If you have followed the steps in the section above, OpenLM Broker should now be transmitting data to OpenLM Server. The final step is to approve the configuration in EasyAdmin User Interface::

  1. Navigate to the EasyAdmin User Interface Interface→Start→Wirdgets→License Manager – Servers.
  2. Click on the There are x servers pending approval.EasyAdmin User Interface License managers servers
  3. Double Click on the row with the Pending status. Note the type for Juniper is displayed as OpenLM Generic.
  4. Verify the details: Host Name, Port, and Time Zone then click APPROVE.


At this point, the Juniper has been automatically added to OpenLM Server and the configuration is complete.

5. How to verify your Juniper configuration

To check if the Juniper License Server is being monitored correctly:

  1. Open the EasyAdmin User Interface.
  2. Click EasyAdmin Start → Widgets → License Manager – Servers. Verify that the configured license manager appears in the server list. A green circle node indicates an active connection to the license server.

Please note, that sometimes it may take up to 3 minutes for the status indicator to change if this is a new connection.


Previous Interfacing JetBrains – KB818
Next Interfacing License Manager using Generic License Server Interface – KB 310
Table of Contents