Contemporary temperature measurement in Junos

In order to contemporary measure temprature on junos device , you’ll need to send specific SNMP traps to the SNMP clients configured on the junos device . In this article I’ll take EX switch 12.3R9 as an example.

First, configure the SNMP client/s and other configurations related to our situation:

set snmp client-list SNMP-RO 10.1.1.1/32
set snmp community TEST-ro authorization read-only
set snmp community TEST-ro client-list-name SNMP-RO
set snmp trap-options source-address 10.1.99.254
set snmp trap-group TEST-ro version v2

While 10.1.1.1 is the server which is pulling out this traps, e.g : PRTG

You need to know which temprature you need to pull. So run the command: show chassis environment on the EX switch:

Screenshot_14

Now, you need to find the related OID for this temprature, follow KB17526 to find this out. You’ll see it is : jnxOperatingTemp . and it is 1.3.6.1.4.1.2636.3.1.13.1.7

So run this command on switch to find the full OID of the specific FPC / sensor :

sh sn mib walk 1.3.6.1.4.1.2636.3.1.13.1.7

Screenshot_14

So you’ll need to run on the SNMP server (for example PRTG server) the following OID:

1.3.6.1.4.1.2636.3.1.13.1.7.7.1.0.0 in order to get contemporary temprature on FPC 0 Sensor CPU Die Temp

Note: There is no specific values as timeout. The moment when the command is issued the temperature output are collected from the device when the help of sensors.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s