Security Management

  • 1.  OID of RPM Counter

    Posted 02-08-2016 18:52

    Hi experts,


    Good day to you all.


    I want to ask about snmp oid number of rpm counter.


    I create rpm services between 2 juniper devices.

    Let's say:

    A - B

    A - C


    A is client, B and C is server. This configuration means, I create 2 rpm services in the device A (Let's say RPM service AB and RPM service AC). I use Junos Space to see the rpm measurement from both interconnections.

    Junos Space present the measurement result using snmp oid.


    Here are the actual snmp oid of rpm measurement for standard deviation (jnxRpmResultsCalculatedTable) in devices A:


    I noticed the difference is the last third digit, but how I know which oid indicates rpm measurement from RPM service AB and which from RPM service AC?




    Thanks in advance.



    Best Regards,



    Martin Pakpahan


  • 2.  RE: OID of RPM Counter
    Best Answer

    Posted 02-09-2016 06:54

    The OIDs you're getting contain the decimal values of each of the ascii characties in the probe test name.

    It's not pretty.


    The format for the name you're seeking is defined as "pingCtlTestName" in the rpm mib.

    See /usr/share/snmp/mibs/mib-jnx-rpm.txt on your Space device for the exact definitions.




    If you want to extract the name string from that OID, you have to map each of the decimal values to their corresponding ascii character and concatenate them.  

    9 -> \t  (tab)

    71 -> "G"

    82 -> "R"

    74 -> "J",



    So, this oid:
    ...translates to this string:
    and this oid:
    ...translates to this string:


    I can hear you groaning from here.  😉


    Here's a perl script that will help you deocode/debug:

    use strict;
    use warnings;
    my $input = $ARGV[0];
    print "input = $input\n";
    my @oid = split('\.', $input);
    foreach my $val (@oid) {
            print chr($val);
    print "\n";

  • 3.  RE: OID of RPM Counter

    Posted 02-10-2016 04:00

    Hi dmcpherson,


    You hear me just fine. I am groaning loudly here 😄


    Thanks for the tip, man. You are a lifesaver. 🙂


  • 4.  RE: OID of RPM Counter

    Posted 05-17-2021 05:32
    To complete your answer, two sub oid are here to count the number of characters of owner and ping test.

    For example : 

    With this example : = Base OID
    9. Character count for the owner name  Owner name (In this case « IPV4-TEST »)
    15. Character count for the test name  test Name (In this case « Google-Public-1 »)
    .1  Sample type

    Best regards,



  • 5.  RE: OID of RPM Counter

    Posted 02-10-2016 05:06



    Another way to quickly identify the associated information is to examine the XML reply.



    > show snmp mib walk jnxRpmResultsCalculatedTable | display xml
    <rpc-reply xmlns:junos="">
        <snmp-object-information xmlns="">