[j-nsp] SNMP OID for CPU temperature

Dale Shaw dale.shaw+j-nsp at gmail.com
Tue Dec 1 01:41:08 EST 2015


Hi Rajendra,

On Tue, Dec 1, 2015 at 5:20 PM, Rajendra Maharjan <
rajendra.maharjan at subisu.net.np> wrote:
>
> Is there any SNMP oid that can return value of CPU temperature rather
than RE temperature. I know there is an oid for RE temperature but it would
be very beneficial if I could get CPU temperature value too. Searching
through juniper docs didn't help me either. We may workout with script too
but getting direct OID would be gorgeous.
[...]

I don't have an EX Virtual Chassis handy to test these commands on but
maybe this helps?

dale at ex2200> show snmp mib walk jnxOperatingDescr
jnxOperatingDescr.1.1.0.0
jnxOperatingDescr.2.1.1.0 = Power Supply: Power Supply 0 @ 0/0/*
jnxOperatingDescr.4.1.1.1 = FAN: Fan 1 @ 0/0/0
jnxOperatingDescr.4.1.1.2 = FAN: Fan 2 @ 0/0/1
jnxOperatingDescr.7.1.0.0 = FPC: EX2200-24T-4G @ 0/*/*
jnxOperatingDescr.8.1.1.0 = PIC: 24x 10/100/1000 Base-T @ 0/0/*
jnxOperatingDescr.8.1.2.0 = PIC: 4x GE SFP @ 0/1/*
jnxOperatingDescr.9.1.0.0 = Routing Engine 0

{master:0}
dale at ex2200> show snmp mib walk jnxOperatingTemp
jnxOperatingTemp.1.1.0.0 = 0
jnxOperatingTemp.2.1.1.0 = 0
jnxOperatingTemp.4.1.1.1 = 0
jnxOperatingTemp.4.1.1.2 = 0
jnxOperatingTemp.7.1.0.0 = 31 <-- temperature of FPC
jnxOperatingTemp.8.1.1.0 = 0
jnxOperatingTemp.8.1.2.0 = 0
jnxOperatingTemp.9.1.0.0 = 31 <-- temperature of RE

jnxOperatingTemp.7.1.0.0 == .1.3.6.1.4.1.2636.3.1.13.1.7.7.1.0.0

In a VC, you should see jnxOperatingTemp.7.<memberID+1>.0.0 being populated
with the per-FPC temperature value.

cheers,
Dale


More information about the juniper-nsp mailing list