Fortinet white logo
Fortinet white logo

Session-Aware Load Balancing Cluster Guide

5.2.10

Shelf manager sensor (OID 1.3.6.1.4.1.16394.2.1.1.3)

Shelf manager sensor (OID 1.3.6.1.4.1.16394.2.1.1.3)

Path: SNMPv2-SMI::enterprises.pps.products.chassis-management.ipm-sentry-shmm.sensor

The following example shows how to extract the current state mask information from a TELCO alarm sensor. This value returns the current state of the alarm of the SAP module (corresponding to the LED indicator state located on the chassis front panel).

In the following shelf manager message example, the last line indicates that this is a major alarm.

20: LUN: 0, Sensor # 131 ("TELCO Alarms")
    Type: Discrete (0x6f), "OEM reserved" (0xdf)
    Belongs to entity (0xf0, 0x01): FRU # 0
    Status: 0xc0
        All event messages enabled from this sensor
        Sensor scanning enabled
        Initial update completed
    Sensor reading: 0x00
    Current State Mask 0x0002
  1. The sensor object entry point for the OID is .1.3.6.1.4.1.16394.2.1.1.3.1 corresponding to SNMPv2-SMI::enterprises.pps.products.chassis-management.ipm-sentry-shmm.sensor.sensor-entry

  2. The SNMP query extracts the value of the sensor-processed-reading MIB field, which has the OID of .1.3.6.1.4.1.16394.2.1.1.3.1.29.

  3. The query should also include the IPMB slave address in decimal format:

    For the TELCO Alarms : 0x20 is 32 in decimal so the OID is .1.3.6.1.4.1.16394.2.1.1.3.1.29.32.

  4. You can get the sensor ID from the shelf manager command cli sensordata, where the sensor name and ID is explicit, the OID is .1.3.6.1.4.1.16394.2.1.1.3.1.29.32.131.

  5. Finally, poll the Telco alarm state with the OID .1.3.6.1.4.1.16394.2.1.1.3.1.29.32.131.

  6. To obtain the status of the alarm with snmpget:

    snmpget -c public -v 2c 192.168.181.98 1.3.6.1.4.1.16394.2.1.1.3.1.29.32.131

    SNMPv2-SMI::enterprises.16394.2.1.1.3.1.29.32.131 = STRING: "Current State Mask 0x0002"

    The returned value is a binary mask where 1=minor, 2=major, 4=critical. So for example, 0x0003, would mean a minor and a critical alarm were raised.

Index

MIB field

Description

.1 sensor-entry A FRU device list entry.
.1.1 sensor-index
.1.2 sensor-sdr-version
.1.3 sensor-record-type
.1.4 sensor-owner-id
.1.5 sensor-owner-lun
.1.6 sensor-number

.1.7

sensor-entity-instance

.1.8

sensor-entity-id

.1.9

sensor-initialization

.1.10

sensor-capabilities

.1.11

sensor-type

.1.12

sensor-event

.1.13

sensor-assertion-event-mask

.1.14

sensor-deassertion-event-mask

.1.15

sensor-mask

.1.16

sensor-unit1

.1.17

sensor-unit2

.1.18

sensor-unit3

.1.19

sensor-linearization

.1.20

sensor-M

.1.21

sensor-tolerance

.1.22

sensor-B

.1.23

sensor-accuracy

.1.24

sensor-accuracy-exp

.1.25

sensor-R-exp

.1.26

sensor-B-exp

.1.27

sensor-characteristic-flags

.1.28

sensor-reading

.1.29

sensor-processed-reading

.1.20

sensor-nominal-reading

.1.31

sensor-nominal-maximum

.1.32

sensor-nominal-minimum

.1.33

sensor-maximum-reading

.1.34

sensor-minimum-reading

.1.35

sensor-upper-non-recoverable-threshold

.1.36

sensor-upper-critical-threshold

.1.37

sensor-upper-non-critical-threshold

.1.38

sensor-lower-non-recoverable-threshold

.1.39

sensor-lower-critical-threshold

.1.40

sensor-lower-non-critical-threshold

.1.41

sensor-positive-going-threshold-hysteresis

.1.42

sensor-negative-going-threshold-hysteresis

.1.43

sensor-id-string

.1.44

sensor-entire-sensor-data

.1.45

sensor-processed-unr-threshold

Processed upper non-recoverable threshold value.

.1.46

sensor-processed-uc-threshold

Processed upper critical threshold value.

.1.47

sensor-processed-unc-threshold

Processed upper non-critical threshold value.

.1.48

sensor-processed-lnr-threshold

Processed lower non-recoverable threshold value.

.1.49

sensor-processed-lc-threshold

Processed lower critical threshold value.

.1.50

sensor-processed-lnc-threshold

Processed lower non-critical threshold value.

Shelf manager sensor (OID 1.3.6.1.4.1.16394.2.1.1.3)

Shelf manager sensor (OID 1.3.6.1.4.1.16394.2.1.1.3)

Path: SNMPv2-SMI::enterprises.pps.products.chassis-management.ipm-sentry-shmm.sensor

The following example shows how to extract the current state mask information from a TELCO alarm sensor. This value returns the current state of the alarm of the SAP module (corresponding to the LED indicator state located on the chassis front panel).

In the following shelf manager message example, the last line indicates that this is a major alarm.

20: LUN: 0, Sensor # 131 ("TELCO Alarms")
    Type: Discrete (0x6f), "OEM reserved" (0xdf)
    Belongs to entity (0xf0, 0x01): FRU # 0
    Status: 0xc0
        All event messages enabled from this sensor
        Sensor scanning enabled
        Initial update completed
    Sensor reading: 0x00
    Current State Mask 0x0002
  1. The sensor object entry point for the OID is .1.3.6.1.4.1.16394.2.1.1.3.1 corresponding to SNMPv2-SMI::enterprises.pps.products.chassis-management.ipm-sentry-shmm.sensor.sensor-entry

  2. The SNMP query extracts the value of the sensor-processed-reading MIB field, which has the OID of .1.3.6.1.4.1.16394.2.1.1.3.1.29.

  3. The query should also include the IPMB slave address in decimal format:

    For the TELCO Alarms : 0x20 is 32 in decimal so the OID is .1.3.6.1.4.1.16394.2.1.1.3.1.29.32.

  4. You can get the sensor ID from the shelf manager command cli sensordata, where the sensor name and ID is explicit, the OID is .1.3.6.1.4.1.16394.2.1.1.3.1.29.32.131.

  5. Finally, poll the Telco alarm state with the OID .1.3.6.1.4.1.16394.2.1.1.3.1.29.32.131.

  6. To obtain the status of the alarm with snmpget:

    snmpget -c public -v 2c 192.168.181.98 1.3.6.1.4.1.16394.2.1.1.3.1.29.32.131

    SNMPv2-SMI::enterprises.16394.2.1.1.3.1.29.32.131 = STRING: "Current State Mask 0x0002"

    The returned value is a binary mask where 1=minor, 2=major, 4=critical. So for example, 0x0003, would mean a minor and a critical alarm were raised.

Index

MIB field

Description

.1 sensor-entry A FRU device list entry.
.1.1 sensor-index
.1.2 sensor-sdr-version
.1.3 sensor-record-type
.1.4 sensor-owner-id
.1.5 sensor-owner-lun
.1.6 sensor-number

.1.7

sensor-entity-instance

.1.8

sensor-entity-id

.1.9

sensor-initialization

.1.10

sensor-capabilities

.1.11

sensor-type

.1.12

sensor-event

.1.13

sensor-assertion-event-mask

.1.14

sensor-deassertion-event-mask

.1.15

sensor-mask

.1.16

sensor-unit1

.1.17

sensor-unit2

.1.18

sensor-unit3

.1.19

sensor-linearization

.1.20

sensor-M

.1.21

sensor-tolerance

.1.22

sensor-B

.1.23

sensor-accuracy

.1.24

sensor-accuracy-exp

.1.25

sensor-R-exp

.1.26

sensor-B-exp

.1.27

sensor-characteristic-flags

.1.28

sensor-reading

.1.29

sensor-processed-reading

.1.20

sensor-nominal-reading

.1.31

sensor-nominal-maximum

.1.32

sensor-nominal-minimum

.1.33

sensor-maximum-reading

.1.34

sensor-minimum-reading

.1.35

sensor-upper-non-recoverable-threshold

.1.36

sensor-upper-critical-threshold

.1.37

sensor-upper-non-critical-threshold

.1.38

sensor-lower-non-recoverable-threshold

.1.39

sensor-lower-critical-threshold

.1.40

sensor-lower-non-critical-threshold

.1.41

sensor-positive-going-threshold-hysteresis

.1.42

sensor-negative-going-threshold-hysteresis

.1.43

sensor-id-string

.1.44

sensor-entire-sensor-data

.1.45

sensor-processed-unr-threshold

Processed upper non-recoverable threshold value.

.1.46

sensor-processed-uc-threshold

Processed upper critical threshold value.

.1.47

sensor-processed-unc-threshold

Processed upper non-critical threshold value.

.1.48

sensor-processed-lnr-threshold

Processed lower non-recoverable threshold value.

.1.49

sensor-processed-lc-threshold

Processed lower critical threshold value.

.1.50

sensor-processed-lnc-threshold

Processed lower non-critical threshold value.