10-28-2011 01:27 AM
I would indeed like to see total paths received and total active paths. jnxBgpM2 does have peer counters, but as you mentioned you only get peer counters, not a total. It's frustrating that JUNOS won't give you total counters for both.
I can't post those outputs as I have over 320 peers on this router so I get a very long result.
Is there a way to somehow then extract the peer counters, add them together and get that into Cacti?
10-28-2011 02:37 AM
I can't help you with Cacti configuration but it's possible to get all peer counters, post-process it and show the totals - all in Cacti. I'm afraid handling SNMP table indexes will be the most complex part of the task.
And keep in mind BGP tables ! = RIB (routes accepted but not active/etc).
If you want to check just the number of IPv4/IPv6 prefixes in net.0/inet6.0, take a look at OIDs ipCidrRouteNumber.0 and ipv6RouteNumber.0 - test with show snmp mib get XXX.
10-28-2011 08:35 AM
JTB: Thanks, I totoally missed the link that pointed out the OIDs. I have added them to our collector. I have to add the pollers via OID - thus I try to ignore just looking for the MIB and focus on the definitions.