sysLocation
SUN-SNMP ·
.1.3.6.1.2.1.1.6
Object
scalar mandatory
r/w
OctetString
The physical location of this node (e.g., `telephone closet, 3rd floor').
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 'SUN-SNMP' -M '/opt/observium/mibs/oracle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SUN-SNMP::sysLocation.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SUN-SNMP' -M '/opt/observium/mibs/oracle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SUN-SNMP::sysLocation'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255