current4to20mASensorValue
SPAGENT-MIB ·
.1.3.6.1.4.1.3854.2.5.5.1.4
Object
The reading value in this sensor
Context
- MIB
- SPAGENT-MIB
- OID
.1.3.6.1.4.1.3854.2.5.5.1.4- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- current4to20mASensorEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SPAGENT-MIB' -M '/opt/observium/mibs/akcp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SPAGENT-MIB::current4to20mASensorValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SPAGENT-MIB' -M '/opt/observium/mibs/akcp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SPAGENT-MIB::current4to20mASensorValue.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SPAGENT-MIB' -M '/opt/observium/mibs/akcp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SPAGENT-MIB::current4to20mASensorValue'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647