cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
622
Views
3
Helpful
4
Replies

snmp_exporter to preform snmpwalk on several VRFs in ACI

Rem Markov
Level 1
Level 1

Hey there guys!

The problem is quite simple.
I want to perform one snmpwalk, that will pull all the BGP peers in ACI,
The problem is that when not specifying context_name in the generator.yml, it will simply pull the metrics of `overlay-1`.

Does anyone know a way to create a single snmpwalk to pull all the vrfs bgp metrics?
In addition, in snmp_exporter, it seems that the only way to define context_name is in the auth, meaning for each vrf I must create a auth, which sounds like a waste, is it possible to create something in the APIC/ACI that, when "walking" it will pull all the configured VRFs?

When trying to create SNMP Context on the VRF I want to scrape, it only pulled the metrics from the last configured VRF even if all the VRFs had the "same" SNMP Context on them.

1 Accepted Solution

Accepted Solutions

julian.bendix
Spotlight
Spotlight

Hey there!

Seeing the same behavior when doing snmpwalks against the OOB IPs of Leaves.

Without specifying the SNMP Context of a custom VRF, I am not able to fetch BGP Neighbors of said custom VRFs (of e.g. L3OUTs).

Unfortunately I don't have a solution for you, I am currently sticking with one snmpwalk per VRF, specifying the context...

BR Jules

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

May be you need to customize to pull and consolidate information out of the box, not that i am ware ACI 5  have seen this.

i am only aware custom based on context config.

BB

=====Preenayamo Vasudevam=====

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

julian.bendix
Spotlight
Spotlight

Hey there!

Seeing the same behavior when doing snmpwalks against the OOB IPs of Leaves.

Without specifying the SNMP Context of a custom VRF, I am not able to fetch BGP Neighbors of said custom VRFs (of e.g. L3OUTs).

Unfortunately I don't have a solution for you, I am currently sticking with one snmpwalk per VRF, specifying the context...

BR Jules

Well this is the expected answer and it seems as it the only solution.

 

Thank you a lot!

Happy to help!!

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License