Query to Graph Cisco router NBAR (Network Based Application Recognition) protocol stats (Either as Bits/Sec or Packets/Sec)
The Query finds all supported protocols on all NBAR enabled interfaces - mutiple interfaces will give many results for the query so be patient

. Each discovered protocol can then be graphed for Bits/Sec, Packets/Sec or Bitrate (Router caclulated bits/sec). Some IOS support high capacity (64 Bit Counters) for the Bits/Sec and Packets/Sec fields which can also be graphed.
I've also included a graph template to select 6 Data Source (e.g. 6 Protocols) to be graphed together as stacked areas. You just need to select the appropriate Data sources and name each protocol.
The query uses a combination of the ifIndex and ProtocolIndex to create a custom index of its own. Should your ifINdex change (i.e. you add interfaces) it will screw it up! - I suggest you make use of the ifIndex persist config command.
NBAR SNMP support also requires reasonably new IOS. Support can be verified by walking "1.3.6.1.4.1.9.9.244.1.8.1.1.2" which will give all supported NBAR protocols if SNMP NBAR support is present.
Thanks to EFLY for some of the MIB Decode info
26/01/2004 Version 1.1 Corrected CDEF in the router generated bit rate template. Corrected small bug that meant query failed if the server had the MIB loaded.
Full Details (including install instructions and examples) Here
ZIP Download Here
Deano
This is an example of the query results - just check the protocols you want (there's over 70 in total) and select the graph type....
