snmp.yml reuse if_mib for different auth.community

I want to make a copy of if_mib of snmp.yml but with a different "auth.community" setting.

So far I've managed to survive without using the SNMP generator :D

I tried for a while and failed to with some yaml merging to make something like:

if_mib_my_module:
  << : *if_mib
  auth:
    community: "CVE-1999-0517"

So right now I'm planning to:

Does someone have a better solution?

Posted Jul 20, 2021, 7:48 AM UTC · edited

10

No comments yet

Nobody commented on this post, or the comments weren't captured.