snmpLocation
MOXA-W2x50A-MIB ·
.1.3.6.1.4.1.8691.2.13.1.5.1.2.3
Object
scalar r/w
OctetString
Specify the location string for SNMP agents, such as the NPort W2x50A series device server. This string is usually set to the street address where the NPort W2x50A series device server is physically located.
Context
- MIB
- MOXA-W2x50A-MIB
- OID
.1.3.6.1.4.1.8691.2.13.1.5.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-W2x50A-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-W2x50A-MIB::snmpLocation.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MOXA-W2x50A-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MOXA-W2x50A-MIB::snmpLocation'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-40