Develop your own action plugin) to use as a rule action by using the Plugin interface and a plugin development SDK. Once developed, you can use it as a rule action for incident rules.
To use a SNMP action plugin:
- Provide a MIB file to the SNMP administrator for the SNMP trap action target system. The administrator compiles the file for the system. The MIB file provides the interface between the SNMP trap and your target system.
- Enable the SNMP Action Plugin in the Server settings: Settings > Dynatrace Server > Plugins > SNMP Action Plugin. Once enabled, the SNMP action appears in the list of incident actions.
The current MIB file is here: dynatrace-trap-MIB-v2. The MIB provides these values for the two supported traps:
dynaTraceIncidentStart TRAP-TYPE ENTERPRISE dynaTrace VARIABLES (name, message, description, severity, violation, server, systemprofile, starttime) DESCRIPTION "Indicates that a new dynaTrace incident has begun." ::= 1
dynaTraceIncidentEnd TRAP-TYPE ENTERPRISE dynaTrace VARIABLES (name, message, description, severity, violation, server, systemprofile, starttime, endtime, duration) DESCRIPTION "Indicates that a dynaTrace incident has ended." ::= 2