hostSNMPCommunity
F5-3DNS-MIB ·
.1.3.6.1.4.1.3375.1.2.1.1.4.1.1.23
Object
column mandatory
OctetString
SNMP community name to use when communicating with the SNMP agent for this host. If no SNMP agent is configured for this host this will have a value of none.
Context
- MIB
- F5-3DNS-MIB
- OID
.1.3.6.1.4.1.3375.1.2.1.1.4.1.1.23- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- hostEntry
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 'F5-3DNS-MIB' -M '/opt/observium/mibs/f5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'F5-3DNS-MIB::hostSNMPCommunity'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'F5-3DNS-MIB' -M '/opt/observium/mibs/f5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'F5-3DNS-MIB::hostSNMPCommunity.<hostAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'F5-3DNS-MIB' -M '/opt/observium/mibs/f5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'F5-3DNS-MIB::hostSNMPCommunity'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-31