[mrtg] Re: Monitoring packet collision

Daniel J McDonald dan.mcdonald at austinenergy.com
Mon Jun 20 16:28:38 MEST 2005

On Fri, 2005-06-17 at 17:19 -0700, Karma Chu wrote:
> Hi Paul,
> I am trying to monitor cisco switches.  Do you know of the OID I could use?

Here is the template I use.  I only care about multiple collisions,
though.  Single Collisions are, in my humble estimation, completely

[mcdonalddj at ldap cfg]$ cat ioserr.iftemplate
# Example CFGNAME: [DEVICE NAME]-cisco_generic_crc_errors
if ($if_ok) {
$target_lines .= <<TONSOSNOT
Target[$target_name]: $if_ref:$router_connect
routers.cgi*ShortDesc[$target_name]: $html_if_snmp_name -
bb*host[$target_name]: $router_name
Directory[$target_name]: $directory_name
MaxBytes[$target_name]: $if_speed
Options[$target_name]: bits
WithPeak[$target_name]: wmy
Title[$target_name]: $html_if_snmp_name - $html_if_snmp_alias
PageTop[$target_name]: <H1>$html_if_snmp_alias - Traffic </H1>
        if ($if_is_ethernet) {
                $target_name .= "_err";
                my $maxpps = int($if_speed / 70);
                $target_lines .= <<COLLISIONS
Target[$target_name]: dot3StatsMultipleCollisionFrames
routers.cgi*ShortDesc[$target_name]: Errors $html_if_snmp_name -
bb*host[$target_name]: $router_name
bb*svc[$target_name]: collisions
bb*yellow[$target_name]: 1%
bb*red[$target_name]: 2%
Directory[$target_name]: $directory_name
MaxBytes[$target_name]: $maxpps
WithPeak[$target_name]: wmy
YLegend[$target_name]: Packets per second
ShortLegend[$target_name]: Packets
Legend1[$target_name]: Multiple Collisions
Legend2[$target_name]: Deferred Packets
LegendI[$target_name]: MC
LegendO[$target_name]: DP
Title[$target_name]: Errors $html_if_snmp_name - $html_if_snmp_alias
PageTop[$target_name]: <H1>$html_if_snmp_alias - Errors </H1>
else {

> Thanks,
> Daniel
> PAUL WILLIAMSON <pwilliamson at mandtbank.com> wrote:
> It all depends on the vendor of the switch you are monitoring.
> Paul
> >>> "Karma Chu" 06/17/05 7:17 PM >>>
> Hello all,
> Is there an OID or combination of OID's that we could use to monitor 
> the packet collision rate with? Thanks in advance.
> Daniel

Daniel J McDonald, CCIE # 2495, CNX
Austin Energy

dan.mcdonald at austinenergy.com

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list