sysSNMPReadCommStr
GIGA-PLUS-MIB ·
.1.3.6.1.4.1.5454.1.80.1.8.1
Object
scalar r/w
OctetString
SNMP agent read community string
Context
- MIB
- GIGA-PLUS-MIB
- OID
.1.3.6.1.4.1.5454.1.80.1.8.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- community
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 'GIGA-PLUS-MIB' -M '/opt/observium/mibs/trango:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GIGA-PLUS-MIB::sysSNMPReadCommStr.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GIGA-PLUS-MIB' -M '/opt/observium/mibs/trango:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GIGA-PLUS-MIB::sysSNMPReadCommStr'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-32