Forum Discussion
Hello, I'm working on this now. First question, can anyone share their code or the module they created?
LM Support will not help us on this. It's a standard ask as there is a free product out there that does this out of the box.
From what I'm reading I will need to utilize a groovy script to find the context, then use the context in the SNMP grab. Is this correct?
I can get the VRF names using .1.3.6.1.4.1.9.9.468.1.1.1.2 but I do not know how to get the context name which is what is actually used to poll. Does anyone know how to get the context name?
If I can't get the context name then I need to make it the same as the VRF.
snmp-server context VRF-TEST vrf VRF-TEST
Then I can do:
snmpwalk -v2c -c public\@VRF-TEST router-r1 .1.3.6.1.2.1.15.3.1
Any thoughts or help on this will be greatly appreciated. Thank you.