10 Apr 2025 09:48 AM - edited 10 Apr 2025 10:00 AM
Hi,
We are trying to develop a custom SNMP 2.0 Extension. We have a MIB file that has the metrics we want to query and we want to specify those names in the YAML instead of the OIDs. But, what we noticed is the following:
For any metric, if we specify the value as oid:<metric_name> and we don't specify the flag table: true on the subgroup above the query fails because it expects a .0 at the end of the OID that gets translated. So, it seems that the translation to leaf OIDs doesn't happen correctly, and we have to manually input the OID to work.
Furthermore, it was be a life-saver if the VSCode plugin or the extension framework had a way to auto-parse the MIB file and generate the basis of the YAML based on it.
EDIT: I'm referring to scalar objects that need the .0 in the end.
Thanks,
George
16 May 2025 04:21 PM - edited 16 May 2025 04:21 PM
Hi @g_kat
Are you trying with Custom Extensions Creator monitoring & observability | Dynatrace Hub ?
I suggest that now that there is this other mechanism that makes it easier to create Extensions, you try that.
16 May 2025 06:16 PM
I was trying the old fashioned way, with the YAML file.
Will give a try to the Extensions Creator though I don't think it works differently on the backend.
Thanks,
George