Re: [j-nsp] SNMP OID for CPU temperature

2015-12-01 Thread Rajendra Maharjan
Hi Michael,

Thanks for the info.


Regards,
Rajendra Maharjan


On Dec 1, 2015, at 9:39 PM, Michael Hare  wrote:

> show chassis environment | display xml

___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] SNMP OID for CPU temperature

2015-12-01 Thread Michael Hare
In my experience the MIB doesn't list all possible instrumentation points.  
Although the below may have enough for you, we've resorted to parsing "show 
chassis environment | display xml"

-Michael

> -Original Message-
> From: juniper-nsp [mailto:juniper-nsp-boun...@puck.nether.net] On Behalf Of
> Rajendra Maharjan
> Sent: Tuesday, December 01, 2015 1:18 AM
> To: Dale Shaw 
> Cc: juniper-nsp 
> Subject: Re: [j-nsp] SNMP OID for CPU temperature
> 
> Hi Dale,
> 
> I am on MX router and temperature value given by snmp walk is of RE which
> we are already using. But there is no any oid that points out CPU Temperature
> run show snmp mib walk jnxOperatingTemp
> jnxOperatingTemp.1.1.0.0 = 0
> jnxOperatingTemp.2.1.0.0 = 58
> jnxOperatingTemp.2.2.0.0 = 48
> jnxOperatingTemp.4.1.0.0 = 0
> jnxOperatingTemp.4.1.1.0 = 0
> jnxOperatingTemp.4.1.2.0 = 0
> jnxOperatingTemp.4.1.3.0 = 0
> jnxOperatingTemp.4.1.4.0 = 0
> jnxOperatingTemp.4.1.5.0 = 0
> jnxOperatingTemp.6.1.0.0 = 72
> jnxOperatingTemp.6.1.1.0 = 55
> jnxOperatingTemp.6.1.2.0 = 70
> jnxOperatingTemp.6.1.3.0 = 73
> jnxOperatingTemp.7.1.0.0 = 72
> jnxOperatingTemp.7.2.0.0 = 72
> jnxOperatingTemp.7.3.0.0 = 72
> jnxOperatingTemp.8.1.1.0 = 0
> jnxOperatingTemp.8.1.2.0 = 0
> jnxOperatingTemp.8.2.1.0 = 0
> jnxOperatingTemp.8.2.2.0 = 0
> jnxOperatingTemp.8.3.1.0 = 0
> jnxOperatingTemp.9.1.0.0 = 56
> jnxOperatingTemp.20.1.1.0 = 0
> jnxOperatingTemp.20.2.1.0 = 0
> jnxOperatingTemp.20.2.2.0 = 0
> jnxOperatingTemp.20.3.1.0 = 0
> 
> #run show chassis routing-engine
> Routing Engine status:
>   Slot 0:
> Current state  Master
> Election priority  Master (default)
> Temperature 56 degrees C / 132 degrees F
> CPU temperature 67 degrees C / 152 degrees F
> 
> 
> Regards,
> Rajendra Maharjan
> 
> 
> On Dec 1, 2015, at 12:26 PM, Dale Shaw  wrote:
> 
> > show snmp mib walk jnxOperatingTemp
> 
> ___
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] SNMP OID for CPU temperature

2015-11-30 Thread Rajendra Maharjan
Hi Dale,

I am on MX router and temperature value given by snmp walk is of RE which we 
are already using. But there is no any oid that points out CPU Temperature
run show snmp mib walk jnxOperatingTemp
jnxOperatingTemp.1.1.0.0 = 0
jnxOperatingTemp.2.1.0.0 = 58
jnxOperatingTemp.2.2.0.0 = 48
jnxOperatingTemp.4.1.0.0 = 0
jnxOperatingTemp.4.1.1.0 = 0
jnxOperatingTemp.4.1.2.0 = 0
jnxOperatingTemp.4.1.3.0 = 0
jnxOperatingTemp.4.1.4.0 = 0
jnxOperatingTemp.4.1.5.0 = 0
jnxOperatingTemp.6.1.0.0 = 72
jnxOperatingTemp.6.1.1.0 = 55
jnxOperatingTemp.6.1.2.0 = 70
jnxOperatingTemp.6.1.3.0 = 73
jnxOperatingTemp.7.1.0.0 = 72
jnxOperatingTemp.7.2.0.0 = 72
jnxOperatingTemp.7.3.0.0 = 72
jnxOperatingTemp.8.1.1.0 = 0
jnxOperatingTemp.8.1.2.0 = 0
jnxOperatingTemp.8.2.1.0 = 0
jnxOperatingTemp.8.2.2.0 = 0
jnxOperatingTemp.8.3.1.0 = 0
jnxOperatingTemp.9.1.0.0 = 56
jnxOperatingTemp.20.1.1.0 = 0
jnxOperatingTemp.20.2.1.0 = 0
jnxOperatingTemp.20.2.2.0 = 0
jnxOperatingTemp.20.3.1.0 = 0

#run show chassis routing-engine
Routing Engine status:
  Slot 0:
Current state  Master
Election priority  Master (default)
Temperature 56 degrees C / 132 degrees F
CPU temperature 67 degrees C / 152 degrees F


Regards,
Rajendra Maharjan


On Dec 1, 2015, at 12:26 PM, Dale Shaw  wrote:

> show snmp mib walk jnxOperatingTemp

___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] SNMP OID for CPU temperature

2015-11-30 Thread Dale Shaw
Hi Rajendra,

On Tue, Dec 1, 2015 at 5:20 PM, Rajendra Maharjan <
rajendra.mahar...@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@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@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..0.0 being populated
with the per-FPC temperature value.

cheers,
Dale
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


[j-nsp] SNMP OID for CPU temperature

2015-11-30 Thread Rajendra Maharjan
Dear All,

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.

Routing Engine status:
  Slot 0:
Current state  Master
Election priority  Master (default)
Temperature 47 degrees C / 116 degrees F
CPU temperature 62 degrees C / 143 degrees F


Regards,
Rajendra Maharjan


___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp