cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need help on SNMP Action Plugin

We created an incident and added the SNMP as the action.The Target host is given as local and the target port is 162.We are getting the log information inside /log/server/com.dynatrace.diagnostics.plugins.snmp.SnmpActionV2.0.0.log...After incident is triggered the MIB files will be generated and where we can find that generated MIB files?

Log details:

2016-02-05 14:53:54 WARNING [PduBuilder@com.dynatrace.diagnostics.plugins.snmp.SnmpActionV2] Truncated 44 variable binding(s), because the length of variable bindings was 3261 octets while max message octets length is set to 1472 (truncated OIDs '[1.3.6.1.4.1.31094.1.15.1.8.2.1, 1.3.6.1.4.1.31094.1.15.1.9.1.1, 1.3.6.1.4.1.31094.1.15.1.9.2.1, 1.3.6.1.4.1.31094.1.15.1.10.1.1, 1.3.6.1.4.1.31094.1.15.1.10.2.1, 1.3.6.1.4.1.31094.1.15.1.11.1.1, 1.3.6.1.4.1.31094.1.15.1.11.2.1, 1.3.6.1.4.1.31094.1.15.1.12.1.1, 1.3.6.1.4.1.31094.1.15.1.12.2.1, 1.3.6.1.4.1.31094.1.15.1.13.1.1, 1.3.6.1.4.1.31094.1.15.1.13.2.1, 1.3.6.1.4.1.31094.1.15.1.14.1.1, 1.3.6.1.4.1.31094.1.15.1.14.2.1, 1.3.6.1.4.1.31094.1.15.1.15.1.1, 1.3.6.1.4.1.31094.1.15.1.15.2.1, 1.3.6.1.4.1.31094.1.15.1.16.1.1, 1.3.6.1.4.1.31094.1.15.1.16.2.1, 1.3.6.1.4.1.31094.1.15.1.17.1.1, 1.3.6.1.4.1.31094.1.15.1.17.2.1, 1.3.6.1.4.1.31094.1.15.1.18.1.1, 1.3.6.1.4.1.31094.1.15.1.18.2.1, 1.3.6.1.4.1.31094.1.16.1.2.2.1.1, 1.3.6.1.4.1.31094.1.18.1.2.1.1, 1.3.6.1.4.1.31094.1.18.1.2.1.2, 1.3.6.1.4.1.31094.1.18.1.2.2.1, 1.3.6.1.4.1.31094.1.18.1.2.2.2, 1.3.6.1.4.1.31094.1.18.1.3.1.1, 1.3.6.1.4.1.31094.1.18.1.3.1.2, 1.3.6.1.4.1.31094.1.18.1.3.2.1, 1.3.6.1.4.1.31094.1.18.1.3.2.2, 1.3.6.1.4.1.31094.1.18.1.4.1.1, 1.3.6.1.4.1.31094.1.18.1.4.1.2, 1.3.6.1.4.1.31094.1.18.1.4.2.1, 1.3.6.1.4.1.31094.1.18.1.4.2.2, 1.3.6.1.4.1.31094.1.18.1.5.1.1, 1.3.6.1.4.1.31094.1.18.1.5.1.2, 1.3.6.1.4.1.31094.1.18.1.5.2.1, 1.3.6.1.4.1.31094.1.18.1.5.2.2, 1.3.6.1.4.1.31094.1.18.1.6.1.1, 1.3.6.1.4.1.31094.1.18.1.6.1.2, 1.3.6.1.4.1.31094.1.18.1.6.2.1, 1.3.6.1.4.1.31094.1.18.1.6.2.2, 1.3.6.1.4.1.31094.1.19.1.2.1.1.1, 1.3.6.1.4.1.31094.1.19.1.2.2.1.1]')

10 REPLIES 10

MichaelFerguson
Dynatrace Helper
Dynatrace Helper

Not sure if I understand your question completely but you in order to send to 3rd party event manager you need to change target host from local to the hostname you want to send it to.

Regarding the MIB is can be found in the doc here:

https://community.dynatrace.com/community/display/...

or from this page:

The current MIB file is here: DYNATRACE-TRAP-MIB-V2.

ok...but once the incident is created no where the mib files will be created automatically?

harald_berger
Dynatrace Pro
Dynatrace Pro

Hello,

Please note that the SNMP plugin has a property called "Maximum number of message octets" which defaults to 1472. You can set this value to -1 so no truncation will happen.

Best
Harry

The log file which I mentioned above are not populating the warning message once the incident is created, since we have modified the max number of message octets to a greater value.

But still I'm having the doubt that where these MIB files are created?

harald_berger
Dynatrace Pro
Dynatrace Pro

Hi,

Dynatrace does not dynamically generate MIB files. The structure of a SNMP trap is fixed and so is the MIB which Michael did already mention. You have to import the MIB in your SNMP trap receiver tool.

Best
Harry

ok..so we need to use the MIB file mentioned earlier. Also can u please explain how it works if I'm targeting to my localhost?

Hi,

The target host and target port can be configured in the properties of the plugin. It defaults to localhost. So you have to install your trap receiver also to localhost if it runs on the same machine.

Best
Harry

so once I install the trap receiver and import the MIB file then whenever the incident is triggered the trap will be received?

Hi,

Yes, but this depends on your 3rd party trap receiver and its configuration. Please contact the vendor of the trap receiver for details.

Best
Harry

ok thank you