Submit a ticketCall us
Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > JUNOS Device Studio poller for OS version

JUNOS Device Studio poller for OS version

Table of contents

Updated February 27, 2017


The OS version is not listed in the Node Details for Juniper (JUNOS) devices. System OID of


NPM 12 and later


Juniper OS Poller and general walk through for creating a new poller using Device Studio.

When using this poller, it will overwrite the standard Orion polling for the node details section with what is created in the Device Studio.


** Note  ** Please make sure that you have the latest MIB database before following the steps below. 


Create the Poller:

  1. From the Web Console, go to: Settings > Manage Pollers
  2. Click Create New Poller.
  3. Define the general parameters:
    For the JUNOS poller, I want to use Node Details
    Name the poller
    Select a test node
    Set Tags for searching
    Give a Description
    And Author
  4. Click Next on the bottom right.
    We are going to concentrate on the two Primary fields needed to get the OS and define the DataSource.
  5. Start by adding the system OID.
    a. Click Define Data Source
    b. Click Cancel if the Use a Constant Value pops up
    c. Click Browse OIDs

    The OID for this for an RFC Compliant Device is
    d. Put it in the Search bar, press the Magnifying glass to start the search. 
  6. Select the box next to the sysobjectID(2) and the results will appear on the right if it is supported by the device.
  7. Click Submit.
  8. Go back to the Data Source for SysobjectID.
  9. Mark the radio button for the SysobjectID and click, “Yes, the data source is reasonable” to add to the poller.
    Now the system Object for the device is displayed to the right and the Datasource is listed:


For the software version:

The OID for will pull a table that includes the JUNOS version. However, you cannot use tables for this feature.

Any other OIDs (public or private) where ot found where the software version was able to be queried other than the description. There can be a lot of details in the description and there is already a field for that. The only needed detail is the version.

In order to do this:

  1. Query the sysDescr OID
  2. Use a Regular Expression to pull just the JUNOS.
  3. Use the same approach as above to define the data source but use
    You will get something like this as a return:

    If Say yes this is reasonable I will get this:

    This may not be reasonable for your needs and you just need the JUNOS 12.3.3R6.6.
  4. Go back to the Data Source for software version.
  5. Select the SysDescr line and click Add Calculated Value.
  6. Select the function of RegEx.
    This will bring up:
    Note the two Arrows
    The RegEx formula is encapsulated in the (,). Inside the (,) the coma separates the Input and the Regular Expression.
  7. Select the in by placing the cursor to the left of the coma in the parentheses and click the select input.
    Like this:

    Not all devices are going to have the same JUNOS versions, but it will show that they have the same format in the description.
  8. To work around many different combinations of letters and number and a dot(.) I came up with this JUNOS [a-z A-Z 0-9 . ]* so this will match and sequence of number and letters + the dot that follows JUNOS.
    And will get a return of:
  9. Add this and see the result:
  10. Move to Discovery settings (Click Next).
  11. If you do not want this to be used in devices where Juniper devices are discovered as they are not unique devices (Provided all OIDS match), add a node as a test and it will not automatically pick up the Poller assignment.
  12. Click Next and Submit.
  13. Once this is created, go back and add more values and the page will look like the following:


  • First the ones that can be derived straight from the RFC 1213 MIB
    • Contact -
    • Location -
    • SysName-
    • Description-


  • Machine type - I am using the Juniper OID of
  • Vendor - Since this is based on Juniper already, one can directly add the "Juniper Networks" or parse it out of the Description like we did with Software Version earlier.  In this case the Vendor will always be Juniper 


There, now it should be all completed with the exception of Software image and I found no information in this.


Assigning the Poller to a Node

  1. Once the process of creating has been submitted, the web page will return to the Manage Pollers page.
  2. Select the poller created and click Assign or click the link above in the Dialogue box stating: Do you want to assign it to existing nodes?
    The selection should be based on the vendor. Do a scan and the result will be similar to the following:
  3. Enable the Poller.
  4. After the devices poll, the information should be updated.


Note: For the ones that did not update, you will need to select the list resources. Once it completes, submit it and the device should update on the poll.


Last modified