[mrtg] DSCP/COS stats on Cisco router
Volk,Gregory B
greg.volk at edwardjones.com
Tue Sep 23 14:10:53 CEST 2014
Initially I attempt to make this a cfgmaker interface template but I ran into problems because I needed to base the indexes off of cbQosIfIndex (.1.3.6.1.4.1.9.9.166.1.1.1.1.4) and not the regular mib2 interfaces index. However I also had to get the port descriptions from mib2 IfDescr, and port speeds from mib2 ifSpeed, and combine those tables with the cbQosIfIndex table to make a useful MRTG target.
Then there were issues with classes that had undefined speeds and classnames so those had to be sanity checked and potentially skipped. That is what those warnings on lines 247 and 255 are.
Bottom line is that while I prefer to use something more standardized and portable like cfgmaker templates, this cbqos mib just had too many oddball exceptions.
If you are not the intended recipient of this message (including attachments), or if you have received this message in error, immediately notify us and delete it and any attachments.
If you do not wish to receive any email messages from us, excluding administrative communications, please email this request to messages at edwardjones.com along with the email address you wish to unsubscribe.
For important additional information related to this email, visit www.edwardjones.com/US_email_disclosure. Edward
D. Jones & Co., L.P. d/b/a Edward Jones, 12555 Manchester Road, St. Louis, MO 63131 © Edward Jones. All rights reserved.
-----Original Message-----
From: Steve Shipway [mailto:s.shipway at auckland.ac.nz]
Sent: Monday, September 22, 2014 4:30 PM
To: Volk,Gregory B; mrtg at lists.oetiker.ch
Subject: RE: DSCP/COS stats on Cisco router
This looks useful (even though I'm not 100% certain what these MIB items are
:) ) ; however, it might be a good idea to change it into a cfgmaker host
template and/or interface template? That way, one could hook it in on a
generic cfgmaker run -- and if it can be made to probe for the objects
existence and have a null operation on an incompatible device it would be able
to be merged with a generic host template...
Steve
Steve Shipway
s.shipway at auckland.ac.nz
More information about the mrtg
mailing list