Limit SNMP view to single interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2015 11:48 PM
Hello,
I'm trying to allow cacti to only graph a single port on our Cisco 6500 Sup 720 Router.
Specifically port te4/1 which has index of 202.
TenGigabitEthernet4/1: Ifindex = 202
I know command to allow it would be:
snmp-server view test ifEntry.*.202 included
The point of this is to only graph bandwidth for the single 10gb port, and nothing else. However, I am finding that cacti cannot even list any ports for the router due to lack of something else. I believe all the other snmp views are blocked, which are causing the problem.
Does anyone know what other MIB view is needed to be allowed for the port to still be graphed? but still disallow any other ports.
Thank you for your help!
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2019 04:56 AM - edited 01-03-2019 04:58 AM
I've solved this on C4948E. I needed to allow only Gi1/39 for Cacti graphing.
The ifindex is:
SW#show snmp mib ifmib ifindex gigabitEthernet 1/39 Interface = GigabitEthernet1/39, Ifindex = 39
Switch config:
snmp-server view VIEW39 system included snmp-server view VIEW39 ifEntry.*.39 included snmp-server view VIEW39 ifXEntry.*.39 included
snmp-server community ACMEComm123 view VIEW39 RO 65
Now Cacti can see only basic device info (branch 'system') and the counter related stuff of interface Gi1/39. In the 'New Graph' dialog it lists only GigabitEthernet1/39.
