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

Custom SNMP extensions and MIB file parsing

g_kat
Advisor

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

"Jack of all trades and master of none, still better than master of one."
0 REPLIES 0

Featured Posts