svrTrapCommunityName

SVRMGT-MIB · .1.3.6.1.4.1.36.2.18.22.2.4.6.1.2

Object

column mandatory r/w RFC1213-MIBDisplayString
This is the community name that network addresses/names will be 
associated with. When the trap is sent out, this community name is
sent out with it. A common community name is public. To create a 
community name entry, just issue a SET command for svrTrapCommunityName
with an instance of svrTrapCommunityNextIndex. To delete the entry, 
issue a SET command for that particular instance using an empty display
string (length = 0). By deleting the community name entry, the underlying 
destination entries for this community name instance will also be 
deleted.

Context

MIB
SVRMGT-MIB
OID
.1.3.6.1.4.1.36.2.18.22.2.4.6.1.2
Type
column
Access
readwrite
Status
mandatory
Parent
svrTrapCommunityEntry

Walk 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 'SVRMGT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SVRMGT-MIB::svrTrapCommunityName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SVRMGT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SVRMGT-MIB::svrTrapCommunityName.<svrTrapCommunityIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SVRMGT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SVRMGT-MIB::svrTrapCommunityName'

Syntax

Source
RFC1213-MIBDisplayString
Base type
OctetString

Values & Constraints

No enumerated values or constraints recorded.