10 Feb 2023
10:49 PM
- last edited on
13 Feb 2023
09:34 AM
by
Ana_Kuzmenchuk
If you develop your v2 extension, you can include proprietary MIB files, according to https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/data-sources/snmp-extensions/sn...
But, if you use the SNMP traps, you will get the traps into the logs, and there will be no way of getting the more friendly OID names.
Now, the same link above specifies that there are directories that have those MIB files, as can be seen below.
The question is if we can put our proprietary MIB files there, and if they will be appeaar in Logs with a more familiar OID name?
Solved! Go to Solution.
Custom MIBs can be added by creating a custom extension. Link to the documentation https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/data-sources/snmp-extensions/sn.... Unfortunately, we recently found a bug and it will not work as designed. The team is working to solve it. Temporary workaround: the MIB files can be dropped into the default folder with MIB files.
Seems like the MIB files don't survive an AG update. Can you confirm?
That is true, but from AG v265 there will be a permanent folder for custom MIB files. The documentation will be updated, but I believe the final paths will be:
Linux: /var/lib/dynatrace/remotepluginmodule/agent/conf/userdata/mib-files-custom
Windows: C:\ProgramData\dynatrace\remotepluginmodule\agent\conf\userdata\mib-files-custom
Hi @krzysztof_suchc ! Do we need to restart something on the AG. Seems permanent MIB Files is not immediately taken into account.
@Hi @jegron if you manually put MIB files into a directory with the default package it will be overwritten by the default package in the next update. AG restart is required to load new MIB files, because modules are being loaded when the DataSource process starts. The proper way to add MIB files is to the custom extension zip package. They will be deployed and no further AG restarts are needed because a new process starts when the custom extension is assigned to an AG
Hi @LukaszMal !
I need to add custom mibs to interpret traps. So I added it to :
/var/lib/dynatrace/remotepluginmodule/agent/conf/userdata/mib-files-custom
But Dynatrace SaaS does not take it into account despite services restart. It works after several days. Is there a cache mechanism somewhere?
Ok, so I will open a case and provide log files for analysis 🙂
Thanks for your quick answers.