trapSinkModifyCommand
PPM-ORG-MIB ·
.1.3.6.1.4.1.31225.3.14.2.2
Object
scalar r/w
Enumeration
Trap Receiver modification action. Controller will search the currently configured trap receivers for the IP address given by trapSinkModifyIP If trapSinkModifyCommand = 1, we add this IP to the Trap Receiver list If trapSinkModifyCommand = 2, we remove this IP from the Trap Receiver list (if present)
Context
- MIB
- PPM-ORG-MIB
- OID
.1.3.6.1.4.1.31225.3.14.2.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ppmSNMPTrapSink
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 'PPM-ORG-MIB' -M '/opt/observium/mibs/vialite:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PPM-ORG-MIB::trapSinkModifyCommand.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PPM-ORG-MIB' -M '/opt/observium/mibs/vialite:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PPM-ORG-MIB::trapSinkModifyCommand'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | noAction |
1 | addTrapSink |
2 | removeTrapSink |