snmpLocation
MOXA-IAW5x50A_IO-MIB ·
.1.3.6.1.4.1.8691.2.21.1.7.1.2.3
Object
scalar r/w
OctetString
Specify the location string for SNMP agents, such as the NPort IAW5x50A_IO series device server. This string is usually set to the street address where the NPort IAW5x50A_IO series device server is physically located.
Context
- MIB
- MOXA-IAW5x50A_IO-MIB
- OID
.1.3.6.1.4.1.8691.2.21.1.7.1.2.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmpAgentSettings
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MOXA-IAW5x50A_IO-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-IAW5x50A_IO-MIB::snmpLocation.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MOXA-IAW5x50A_IO-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MOXA-IAW5x50A_IO-MIB::snmpLocation'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-40