svrTrapDestination
SVRMGT-MIB ·
.1.3.6.1.4.1.36.2.18.22.2.4.7.1.2
Object
This is the destination that the trap will be sent. It can either an IP address, TCPIP name, Netbios name or IPX address. To create a destination entry, just issue a SET command for svrTrapDestination with an instance of svrTrapDestinationNextIndex. To delete the entry, issue a SET command for that particular instance using an empty display string (length = 0).
Context
- MIB
- SVRMGT-MIB
- OID
.1.3.6.1.4.1.36.2.18.22.2.4.7.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- svrTrapDestinationEntry
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 'SVRMGT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SVRMGT-MIB::svrTrapDestination'
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::svrTrapDestination.<svrTrapCommunityIndex>.<svrTrapDestinationIndex>'
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::svrTrapDestination'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.