SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  SRX snmp OID

    Posted 08-11-2016 03:38

    Hello, i have problems with SNMP on SRX 100. PRTG cant see some sensors (fe-0/0/0, lan, and zone). Other sensors like ping is working. On srx 100 snmp traceoptions i see whis message:

    Aug 11 11:25:29 snmpd[c2b274d] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Aug 11 11:25:29 snmpd[c2b274d] >>> Get-Request
    Aug 11 11:25:29 snmpd[c2b274d] >>> Source: 10.245.64.84
    Aug 11 11:25:29 snmpd[c2b274d] >>> Destination: 10.245.76.10
    Aug 11 11:25:29 snmpd[c2b274d] >>> Version: SNMPv2
    Aug 11 11:25:29 snmpd[c2b274d] >>> Request_id: 0xc2b274d
    Aug 11 11:25:29 snmpd[c2b274d] >>> Community: Gmtv5MhB
    Aug 11 11:25:29 snmpd[c2b274d] >>> Error: status=0 / vb_index=0
    Aug 11 11:25:29 snmpd[c2b274d] >>> OID : ifNumber.0
    Aug 11 11:25:29 snmpd[c2b274d] >>> OID : ifStackLastChange.0
    Aug 11 11:25:29 snmpd[c2b274d] >>> OID : ifTableLastChange.0
    Aug 11 11:25:29 snmpd[c2b274d] >>> OID : jnxCmCfgChgLatestTime.0
    Aug 11 11:25:29 snmpd[c2b274d] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Aug 11 11:25:29 snmpd[c2b274d] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    Aug 11 11:25:29 snmpd[c2b274d] <<< Get-Response
    Aug 11 11:25:29 snmpd[c2b274d] <<< Source: 10.245.64.84
    Aug 11 11:25:29 snmpd[c2b274d] <<< Destination: 10.245.76.10
    Aug 11 11:25:29 snmpd[c2b274d] <<< Version: SNMPv2
    Aug 11 11:25:29 snmpd[c2b274d] <<< Request_id: 0xc2b274d
    Aug 11 11:25:29 snmpd[c2b274d] <<< Community: Gmtv5MhB
    Aug 11 11:25:29 snmpd[c2b274d] <<< Error: status=0 / vb_index=0
    Aug 11 11:25:29 snmpd[c2b274d] <<<
    Aug 11 11:25:29 snmpd[c2b274d] <<< OID : ifNumber.0
    Aug 11 11:25:29 snmpd[c2b274d] <<< type : NoSuchObj
    Aug 11 11:25:29 snmpd[c2b274d] <<<
    Aug 11 11:25:29 snmpd[c2b274d] <<< OID : ifStackLastChange.0
    Aug 11 11:25:29 snmpd[c2b274d] <<< type : NoSuchObj
    Aug 11 11:25:29 snmpd[c2b274d] <<<
    Aug 11 11:25:29 snmpd[c2b274d] <<< OID : ifTableLastChange.0
    Aug 11 11:25:29 snmpd[c2b274d] <<< type : NoSuchObj
    Aug 11 11:25:29 snmpd[c2b274d] <<<
    Aug 11 11:25:29 snmpd[c2b274d] <<< OID : jnxCmCfgChgLatestTime.0
    Aug 11 11:25:29 snmpd[c2b274d] <<< type : TimeTicks
    Aug 11 11:25:29 snmpd[c2b274d] <<< value: (50706604) 140:51:06.04
    Aug 11 11:25:29 snmpd[c2b274d] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

     

     

    I cant find that is mean OID : ifNumber.0, OID : ifStackLastChange.0, OID : ifTableLastChange.0, and why this types are type : NoSuchObj? If this is the problem? 

    Sorry for bad english



  • 2.  RE: SRX snmp OID

     
    Posted 08-11-2016 04:11

    Hi, 

     

    You could use this link to lookup the meaning of the OIDs:

    https://contentapps.juniper.net/mib-explorer/search.jsp

     

    You could also use this command to verify if the OIDs are present on the Juniper device:

    show snmp mib walk ascii "oid"
    
    Example:
    show snmp mib walk ascii ifNumber

    Cheers,

    Ashvin



  • 3.  RE: SRX snmp OID

    Posted 08-11-2016 06:22

    Hi,

     

    Looks like the objects you are trying to poll do not exist and hence you are getting the error "NoSuchObj".

     

    For Example, ther is no such MIB as ifNumber. the interface statisticas are visible under "ifTable" and the interface number can be corelated using "ifIndex".

     

    In short, the SNMP server is polling the SRX for incorrect MIBs and hence you are getting these errors.

     

    Please use the following link in order to get the correct values :-

    http://www.juniper.net/techpubs/en_US/junos12.1/information-products/topic-collections/srx100-srx210-srx220-srx240-srx650-snmp-mib-reference/book-mib-srx100-srx210-srx220-srx240-srx650-service-gateway.pdf

     

    Regards,

    Sahil Sharma

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

    Please mark my solution as accepted if it helped, Kudos are appreciated as well.



  • 4.  RE: SRX snmp OID
    Best Answer

    Posted 08-23-2016 22:51

    I upgrade version to 12.1X46-D45.4 and its work fine.