Discussion:
[mrtg] Monitor CRC & Framing Errors
h***@qwest.net
2004-06-05 15:24:00 UTC
Permalink
Hi, I wuld like to monitor CRC and Framing errors on the serial ports of 1720 routers. I have 11 1720's and 21 Serial ports (T1's) that I need to monitor. It would be great to just to browse to a webpage and check for errors rather than log in to each router. I tried using the CRC template off somix.com. MRTG creates the graphs and looks like it's querying the routers, but no data is displayed. Anyone that could help would be greatly appreciated. Thanks in advance.
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Tim Sheets
2004-06-05 16:09:07 UTC
Permalink
Assuming a default installation (5 minute polling/averaging), if you get less than 300 errors during the 5 minute window, the average will be less than 1, which will report as 0. you can look at the log files to verify data is being collected.

You may want to look into the per minute/hour options.

Tim


-----Original Message-----
From: ***@qwest.net [mailto:***@qwest.net]
Sent: Sat 6/5/2004 5:24 AM
To: ***@list.ee.ethz.ch
Cc:
Subject: [mrtg] Monitor CRC & Framing Errors
Hi, I wuld like to monitor CRC and Framing errors on the serial ports of 1720 routers. I have 11 1720's and 21 Serial ports (T1's) that I need to monitor. It would be great to just to browse to a webpage and check for errors rather than log in to each router. I tried using the CRC template off somix.com. MRTG creates the graphs and looks like it's querying the routers, but no data is displayed. Anyone that could help would be greatly appreciated. Thanks in advance.

--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
h***@qwest.net
2004-06-05 16:21:49 UTC
Permalink
How do I set it for 30 minute interval. I'm not sure if I am using the
correct OID. Do you know where I could look to verify the OID. I get this
error message when I run MRTG. I got the OID from the somix.com repository

SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.16.1.1.1.8)
SNMPv1_Session (remote host: "192.100.106.1" [192.100.106.1].161)
community: "communityName"
request ID: 580011367
PDU bufsize: 8000 bytes
timeout: 2s



----- Original Message -----
From: "Tim Sheets" <***@illinois.net>
To: <***@qwest.net>; <***@list.ee.ethz.ch>
Sent: Saturday, June 05, 2004 11:09 AM
Subject: RE: [mrtg] Monitor CRC & Framing Errors


Assuming a default installation (5 minute polling/averaging), if you get
less than 300 errors during the 5 minute window, the average will be less
than 1, which will report as 0. you can look at the log files to verify
data is being collected.

You may want to look into the per minute/hour options.

Tim


-----Original Message-----
From: ***@qwest.net [mailto:***@qwest.net]
Sent: Sat 6/5/2004 5:24 AM
To: ***@list.ee.ethz.ch
Cc:
Subject: [mrtg] Monitor CRC & Framing Errors
Hi, I wuld like to monitor CRC and Framing errors on the serial ports of
1720 routers. I have 11 1720's and 21 Serial ports (T1's) that I need to
monitor. It would be great to just to browse to a webpage and check for
errors rather than log in to each router. I tried using the CRC template
off somix.com. MRTG creates the graphs and looks like it's querying the
routers, but no data is displayed. Anyone that could help would be greatly
appreciated. Thanks in advance.

--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Pete Templin
2004-06-05 16:45:23 UTC
Permalink
Post by h***@qwest.net
Hi, I wuld like to monitor CRC and Framing errors on the serial
ports of 1720 routers. I have 11 1720's and 21 Serial ports (T1's)
that I need to monitor. It would be great to just to browse to a
webpage and check for errors rather than log in to each router. I
tried using the CRC template off somix.com. MRTG creates the graphs
and looks like it's querying the routers, but no data is displayed.
Anyone that could help would be greatly appreciated. Thanks in
advance.
YMMV, but the DS1 MIB should be available on these units, or at least
something similar. All of the error counters are available through this
MIB. Can you see appropriate figures if you poll the router manually?

A few additional notes on this topic: because MRTG might not take the
same amount of time to process its targets on unique runs, your timing
may not end up right at 300 second intervals, and it's next to
impossible to sync up with the 15-minute intervals where DS1 devices
keep these statistics. As such, I monitor both the current interval and
the previous interval at the default five minute interval, knowing that
a few caveats apply:

1) I will "miss" the last 0-299 seconds in each 15 minute interval, and
capture less than 300 seconds during the beginning of the new 15 minute
interval, on one poll every three.
2) I will capture the errors missed in #1 by polling the previous
interval, but will get the same results for three polls in a row (since
the previous interval becomes the previous previous interval every
fifteen minutes).

I use threshold monitoring to capture moderate and high levels. I have
a simple script that treats the "Min" and "Max" thresholds as "info" and
"alert" (i.e. the safe zone is below the info and alert levels, NOT in
between the Min and Max levels as the default logic assumes).

Now I just need to develop a way to integrate some of my automated page
generation tools with RRDTool and a companion graph-building CGI, so I
can get the CPU load down on my poor monitoring box...

pt
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
h***@qwest.net
2004-06-05 16:53:21 UTC
Permalink
I can see the appropriate figures, I just can't seem to make MRTG collect
the correct data. this is the first setup of MRTG I have done. I'm kinda
confused of what my config should look like. This is what I have, Does it
look correct? This is only one serial port of course.

Target[192.100.108.1_2]:
1.3.6.1.2.1.16.1.1.1.8/192.100.108.1&1.3.6.1.2.1.16.1.1.1.8/192.100.108.1:co
***@192.100.108.1

YLegend[192.100.108.1_2]: Errors

ShortLegend[192.100.108.1_2]: Errors

MaxBytes[192.100.108.1_2]: 193000

Options[192.100.108.1_2]: nopercent, unknaszero

Legend1[192.100.108.1_2]: CRC Align Errors

Legend2[192.100.108.1_2]: CRC Align Errors

Legend3[192.100.108.1_2]: Max value per interval on graph

Legend4[192.100.108.1_2]: .

LegendI[192.100.108.1_2]: CRC Align Errors

LegendO[192.100.108.1_2]: CRC Align Errors

Title[192.100.108.1_2]: South Side Serial 1

PageTop[192.100.108.1_2]: <H1>South Side Serial 1</H1>

Colours[192.100.108.1_2]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff

WithPeak[192.100.108.1_2]: ymw




----- Original Message -----
From: "Pete Templin" <***@templin.org>
To: <***@qwest.net>
Cc: <***@list.ee.ethz.ch>
Sent: Saturday, June 05, 2004 11:45 AM
Subject: Re: [mrtg] Monitor CRC & Framing Errors
Post by Pete Templin
Post by h***@qwest.net
Hi, I wuld like to monitor CRC and Framing errors on the serial
ports of 1720 routers. I have 11 1720's and 21 Serial ports (T1's)
that I need to monitor. It would be great to just to browse to a
webpage and check for errors rather than log in to each router. I
tried using the CRC template off somix.com. MRTG creates the graphs
and looks like it's querying the routers, but no data is displayed.
Anyone that could help would be greatly appreciated. Thanks in
advance.
YMMV, but the DS1 MIB should be available on these units, or at least
something similar. All of the error counters are available through this
MIB. Can you see appropriate figures if you poll the router manually?
A few additional notes on this topic: because MRTG might not take the
same amount of time to process its targets on unique runs, your timing
may not end up right at 300 second intervals, and it's next to
impossible to sync up with the 15-minute intervals where DS1 devices
keep these statistics. As such, I monitor both the current interval and
the previous interval at the default five minute interval, knowing that
1) I will "miss" the last 0-299 seconds in each 15 minute interval, and
capture less than 300 seconds during the beginning of the new 15 minute
interval, on one poll every three.
2) I will capture the errors missed in #1 by polling the previous
interval, but will get the same results for three polls in a row (since
the previous interval becomes the previous previous interval every
fifteen minutes).
I use threshold monitoring to capture moderate and high levels. I have
a simple script that treats the "Min" and "Max" thresholds as "info" and
"alert" (i.e. the safe zone is below the info and alert levels, NOT in
between the Min and Max levels as the default logic assumes).
Now I just need to develop a way to integrate some of my automated page
generation tools with RRDTool and a companion graph-building CGI, so I
can get the CPU load down on my poor monitoring box...
pt
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Hans Dekker
2004-06-16 07:48:36 UTC
Permalink
Hi,

Try the interface template file below. It's a modified copy of an MRTG
example. I used it to collect the CRC and FCS errors on switch ports.
When a port gives trouble mostly these errors numbers rise.

The OID's are the common ones (as far as I could see).

etherStatsCRCAlignErrors OID: 1.3.6.1.2.1.16.1.1.1.8.port#
etherStatsFragments OID: 1.3.6.1.2.1.16.1.1.1.11.port#

The command to generate your .cfg file would be:

C:\> perl cfgmaker \
--if-template=switch_err.pl \
--show-op-down \
--global "WorkDir: <your workdir>" \
--global "RunAsDaemon: yes" \
--global "LoadMIBs: <your mib files>" \
--output=<your device>.err.cfg

The switch_err.pl file has the following content (it gives output to
show also offline ports and mentions it on the output web page):

$head_lines .= <<ECHO;
#---------------------------------------------------------------------
ECHO

my $target_name = $router_name . "." . $ifindex . ".err";

# Check ethernet devices only. See documentation of cfgmaker.

if ( $if_is_ethernet eq 1 ) {

$target_lines .= <<ECHO;

Target[$target_name]:
etherStatsCRCAlignErrors.$ifindex&etherStatsFragments.$ifindex:$router_connect
YLegend[$target_name]: errors on Port
ShortLegend[$target_name]: errors / sec
Legend1[$target_name]: CRC errors
Legend2[$target_name]: FCS errors
Legend3[$target_name]: max 5 min CRC errors
Legend4[$target_name]: max 5 min FCS errors
LegendI[$target_name]: &nbsp;CRC errors:
LegendO[$target_name]: &nbsp;FCS errors:
WithPeak[$target_name]: dwmy
MaxBytes[$target_name]: 10000
Options[$target_name]: integer, unknaszero, nopercent
ECHO

# Check if device is operational

if ( $if_oper eq 1 ) {

$target_lines .= <<ECHO;
Title[$target_name]: Switch $router_name port $ifindex FCS and CRC
errors speed $if_speed_str
PageTop[$target_name]: <H1>Switch $router_name port $ifindex speed
$if_speed_str (at build time) FCS and CRC errors</H1>
<TABLE>
<TR><TD>System:</TD><TD>Switch $router_name in $html_syslocation
port $ifindex speed $if_speed_str (at build time)</TD></TR>
ECHO

} else {

$target_lines .= <<ECHO;
Title[$target_name]: Switch $router_name port $ifindex not operational
PageTop[$target_name]: <H1>Switch $router_name port $ifindex not
operational (at build time)</H1>
<TABLE>
<TR><TD>System:</TD><TD>Switch $router_name in $html_syslocation
port $ifindex not operational (at build time)</TD></TR>
ECHO

}

$target_lines .= <<ECHO;
<TR><TD>Maintainer:</TD><TD>$html_syscontact</TD></TR>
<TR><TD VALIGN="top">Description:</TD><TD>$html_sysdescr</TD></TR>
<TR><TD ifType:</TD><TD>$if_type</TD></TR>
<TR><TD>Resource:</TD><TD>RMON FCS and CRC errors, equiv
etherStatsFragments and etherStatsCRCAlignErrors. See ETHERLIKE-MIB for
a description</TD></TR>
</TABLE>
ECHO

}
Post by h***@qwest.net
I can see the appropriate figures, I just can't seem to make MRTG collect
the correct data. this is the first setup of MRTG I have done. I'm kinda
confused of what my config should look like. This is what I have, Does it
look correct? This is only one serial port of course.
1.3.6.1.2.1.16.1.1.1.8/192.100.108.1&1.3.6.1.2.1.16.1.1.1.8/192.100.108.1:co
YLegend[192.100.108.1_2]: Errors
ShortLegend[192.100.108.1_2]: Errors
MaxBytes[192.100.108.1_2]: 193000
Options[192.100.108.1_2]: nopercent, unknaszero
Legend1[192.100.108.1_2]: CRC Align Errors
Legend2[192.100.108.1_2]: CRC Align Errors
Legend3[192.100.108.1_2]: Max value per interval on graph
Legend4[192.100.108.1_2]: .
LegendI[192.100.108.1_2]: CRC Align Errors
LegendO[192.100.108.1_2]: CRC Align Errors
Title[192.100.108.1_2]: South Side Serial 1
PageTop[192.100.108.1_2]: <H1>South Side Serial 1</H1>
Colours[192.100.108.1_2]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[192.100.108.1_2]: ymw
----- Original Message -----
Sent: Saturday, June 05, 2004 11:45 AM
Subject: Re: [mrtg] Monitor CRC & Framing Errors
Post by Pete Templin
Post by h***@qwest.net
Hi, I wuld like to monitor CRC and Framing errors on the serial
ports of 1720 routers. I have 11 1720's and 21 Serial ports (T1's)
that I need to monitor. It would be great to just to browse to a
webpage and check for errors rather than log in to each router. I
tried using the CRC template off somix.com. MRTG creates the graphs
and looks like it's querying the routers, but no data is displayed.
Anyone that could help would be greatly appreciated. Thanks in
advance.
YMMV, but the DS1 MIB should be available on these units, or at least
something similar. All of the error counters are available through this
MIB. Can you see appropriate figures if you poll the router manually?
A few additional notes on this topic: because MRTG might not take the
same amount of time to process its targets on unique runs, your timing
may not end up right at 300 second intervals, and it's next to
impossible to sync up with the 15-minute intervals where DS1 devices
keep these statistics. As such, I monitor both the current interval and
the previous interval at the default five minute interval, knowing that
1) I will "miss" the last 0-299 seconds in each 15 minute interval, and
capture less than 300 seconds during the beginning of the new 15 minute
interval, on one poll every three.
2) I will capture the errors missed in #1 by polling the previous
interval, but will get the same results for three polls in a row (since
the previous interval becomes the previous previous interval every
fifteen minutes).
I use threshold monitoring to capture moderate and high levels. I have
a simple script that treats the "Min" and "Max" thresholds as "info" and
"alert" (i.e. the safe zone is below the info and alert levels, NOT in
between the Min and Max levels as the default logic assumes).
Now I just need to develop a way to integrate some of my automated page
generation tools with RRDTool and a companion graph-building CGI, so I
can get the CPU load down on my poor monitoring box...
pt
--
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
.
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
h***@qwest.net
2004-06-17 03:18:36 UTC
Permalink
Good Evening,

I'm still struggling with this. I found the right OID's after contacting
Cisco, seems Cisco changed the OID's for the version of IOS I am running,

I can poll the routers with snmpwalk or snmpget and get the correct results.

I'm running MRTG on a RH9 box and I'm not sure what the MRTG config file
should look like to see the amount CRC errors collected by MRTG polling at
the times on the graph. MRTG logs show the right figures but I do not see
anything on the graph. I am polling every 5 minutes, everything is default
on MRTG.
----- Original Message -----
From: "Pete Templin" <***@templin.org>
To: <***@qwest.net>
Cc: <***@list.ee.ethz.ch>
Sent: Saturday, June 05, 2004 11:45 AM
Subject: [mrtg] Re: Monitor CRC & Framing Errors
Post by h***@qwest.net
Hi, I wuld like to monitor CRC and Framing errors on the serial
ports of 1720 routers. I have 11 1720's and 21 Serial ports (T1's)
that I need to monitor. It would be great to just to browse to a
webpage and check for errors rather than log in to each router. I
tried using the CRC template off somix.com. MRTG creates the graphs
and looks like it's querying the routers, but no data is displayed.
Anyone that could help would be greatly appreciated. Thanks in
advance.
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Hans Dekker
2004-06-17 09:12:29 UTC
Permalink
Create a dir with all the mib's you need, up to the highest level, like
the Etherlike-MIB. I Don't know what you'll need to complete the
OID-path for Cisco's.

Then put the follwing command in your config file to let mrtg pick up
the MIB you want to use for the OID to monitor:

LoadMIBs: C:\usr\mibs\<your mib 1 with extension>,C:\usr\mibs\<your mib
2 with extension>

This one is used on a WinXP box. For Unix you'll need other path formats.

Good luck.
Post by h***@qwest.net
Good Evening,
I'm still struggling with this. I found the right OID's after contacting
Cisco, seems Cisco changed the OID's for the version of IOS I am running,
I can poll the routers with snmpwalk or snmpget and get the correct results.
I'm running MRTG on a RH9 box and I'm not sure what the MRTG config file
should look like to see the amount CRC errors collected by MRTG polling at
the times on the graph. MRTG logs show the right figures but I do not see
anything on the graph. I am polling every 5 minutes, everything is default
on MRTG.
----- Original Message -----
Sent: Saturday, June 05, 2004 11:45 AM
Subject: [mrtg] Re: Monitor CRC & Framing Errors
Post by h***@qwest.net
Hi, I wuld like to monitor CRC and Framing errors on the serial
ports of 1720 routers. I have 11 1720's and 21 Serial ports (T1's)
that I need to monitor. It would be great to just to browse to a
webpage and check for errors rather than log in to each router. I
tried using the CRC template off somix.com. MRTG creates the graphs
and looks like it's querying the routers, but no data is displayed.
Anyone that could help would be greatly appreciated. Thanks in
advance.
--
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
.
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Eric Brander
2004-06-17 15:08:04 UTC
Permalink
Post by h***@qwest.net
Good Evening,
I'm still struggling with this. I found the right OID's after contacting
Cisco, seems Cisco changed the OID's for the version of IOS I am running,
I can poll the routers with snmpwalk or snmpget and get the correct results.
I'm running MRTG on a RH9 box and I'm not sure what the MRTG config file
should look like to see the amount CRC errors collected by MRTG polling at
the times on the graph. MRTG logs show the right figures but I do not see
anything on the graph. I am polling every 5 minutes, everything is default
on MRTG.
~snip~

Why not just use this?

Target[blah]: ifInErrors.1&ifOutErrors.1:***@a.b.c.e

The only problem is that it gets ALL the errors, no matter what type.
But I think it will do what you want. If you're truly trying to track
how many framing errors vs CRC errors, then maybe you should spend more
time trying to fix the errors than to chart them. Just my humble opinion
of course.

Eric Brander
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Pete Templin
2004-06-17 15:51:51 UTC
Permalink
Here's a sample of how I'm monitoring ES, BES, SES, and UAS on an
Eastern Research DNX-11. Your OIDs will probably be different, but the
concepts should be good enough:

### Global Config Options
WorkDir: /home/http/mrtg/dacs/dlls

### Global Defaults
# to get bits instead of bytes and graphs growing to the right
Options[_]: growright, bits
NoMib2: yes
Forks: 4
IconDir: /mrtg/icons
ThreshDir: /home/http/mrtg/dacs/dlls/thresh

Target[dlls.3.1.1]:
1.3.6.1.4.1.644.2.4.4.1.1.1.3.0.3.1.0&1.3.6.1.4.1.644.2.4.4.1.3.1.3.0.3.1.0.1:***@172.16.20.73
MaxBytes[dlls.3.1.1]: 900
Title[dlls.3.1.1]: Slot 3 Port 1 CommunicationsComple Errored Seconds
PageTop[dlls.3.1.1]: <H1>Errored Seconds on Slot 3 Port 1
CommunicationsComple</H1>
Options[dlls.3.1.1]: gauge, unknaszero, withzeroes, growright
WithPeak[dlls.3.1.1]: wmy
YLegend[dlls.3.1.1]: Errors
ShortLegend[dlls.3.1.1]: Errors
LegendI[dlls.3.1.1]: Current ES
LegendO[dlls.3.1.1]: Previous ES
ThreshMinI[dlls.3.1.1]: 4
ThreshMaxI[dlls.3.1.1]: 12
ThreshProgI[dlls.3.1.1]: /usr/local/bin/threshalarm
ThreshProgOKI[dlls.3.1.1]: /usr/local/bin/threshclear
ThreshMinO[dlls.3.1.1]: 12
ThreshMaxO[dlls.3.1.1]: 36
ThreshProgO[dlls.3.1.1]: /usr/local/bin/threshalarmprev
ThreshProgOKO[dlls.3.1.1]: /usr/local/bin/threshclearprev
ThreshDesc[dlls.3.1.1]: CommunicationsComple
#---------------------------------------------------

Target[dlls.3.1.2]:
1.3.6.1.4.1.644.2.4.4.1.1.1.6.0.3.1.0&1.3.6.1.4.1.644.2.4.4.1.3.1.6.0.3.1.0.1:***@172.16.20.73
MaxBytes[dlls.3.1.2]: 900
Title[dlls.3.1.2]: Slot 3 Port 1 CommunicationsComple
PageTop[dlls.3.1.2]: <H1>Bursty Errored Seconds on Slot 3 Port 1
CommunicationsComple</H1>
Options[dlls.3.1.2]: gauge, unknaszero, withzeroes, growright
WithPeak[dlls.3.1.2]: wmy
YLegend[dlls.3.1.2]: Seconds
ShortLegend[dlls.3.1.2]: Seconds
LegendI[dlls.3.1.2]: Current BES
LegendO[dlls.3.1.2]: Previous BES
ThreshMinI[dlls.3.1.2]: 3
ThreshMaxI[dlls.3.1.2]: 9
ThreshProgI[dlls.3.1.2]: /usr/local/bin/threshalarm
ThreshProgOKI[dlls.3.1.2]: /usr/local/bin/threshclear
ThreshMinO[dlls.3.1.2]: 10
ThreshMaxO[dlls.3.1.2]: 30
ThreshProgO[dlls.3.1.2]: /usr/local/bin/threshalarmprev
ThreshProgOKO[dlls.3.1.2]: /usr/local/bin/threshclearprev
ThreshDesc[dlls.3.1.2]: CommunicationsComple
#---------------------------------------------------

Target[dlls.3.1.3]:
1.3.6.1.4.1.644.2.4.4.1.1.1.5.0.3.1.0&1.3.6.1.4.1.644.2.4.4.1.3.1.5.0.3.1.0.1:***@172.16.20.73
MaxBytes[dlls.3.1.3]: 900
Title[dlls.3.1.3]: Slot 3 Port 1 CommunicationsComple Severely Errored
Seconds
PageTop[dlls.3.1.3]: <H1>Severely Errored Seconds on Slot 3 Port 1
CommunicationsComple</H1>
Options[dlls.3.1.3]: gauge, unknaszero, withzeroes, growright
WithPeak[dlls.3.1.3]: wmy
YLegend[dlls.3.1.3]: Errors
ShortLegend[dlls.3.1.3]: Errors
LegendI[dlls.3.1.3]: Current SES
LegendO[dlls.3.1.3]: Previous SES
ThreshMinI[dlls.3.1.3]: 2
ThreshMaxI[dlls.3.1.3]: 6
ThreshProgI[dlls.3.1.3]: /usr/local/bin/threshalarm
ThreshProgOKI[dlls.3.1.3]: /usr/local/bin/threshclear
ThreshMinO[dlls.3.1.3]: 8
ThreshMaxO[dlls.3.1.3]: 24
ThreshProgO[dlls.3.1.3]: /usr/local/bin/threshalarmprev
ThreshProgOKO[dlls.3.1.3]: /usr/local/bin/threshclearprev
ThreshDesc[dlls.3.1.3]: CommunicationsComple
#---------------------------------------------------

Target[dlls.3.1.4]:
1.3.6.1.4.1.644.2.4.4.1.1.1.4.0.3.1.0&1.3.6.1.4.1.644.2.4.4.1.3.1.4.0.3.1.0.1:***@172.16.20.73
MaxBytes[dlls.3.1.4]: 900
Title[dlls.3.1.4]: Slot 3 Port 1 CommunicationsComple Unavailable Seconds
PageTop[dlls.3.1.4]: <H1>Unvailable Seconds on Slot 3 Port 1
CommunicationsComple</H1>
Options[dlls.3.1.4]: gauge, unknaszero, withzeroes, growright
WithPeak[dlls.3.1.4]: wmy
YLegend[dlls.3.1.4]: Seconds
ShortLegend[dlls.3.1.4]: Seconds
LegendI[dlls.3.1.4]: Current UAS
LegendO[dlls.3.1.4]: Previous UAS
ThreshMinI[dlls.3.1.4]: 4
ThreshMaxI[dlls.3.1.4]: 10
ThreshProgI[dlls.3.1.4]: /usr/local/bin/threshalarm
ThreshProgOKI[dlls.3.1.4]: /usr/local/bin/threshclear
ThreshMinO[dlls.3.1.4]: 30
ThreshMaxO[dlls.3.1.4]: 300
ThreshProgO[dlls.3.1.4]: /usr/local/bin/threshalarmprev
ThreshProgOKO[dlls.3.1.4]: /usr/local/bin/threshclearprev
ThreshDesc[dlls.3.1.4]: CommunicationsComple
#---------------------------------------------------
Post by h***@qwest.net
Good Evening,
I'm still struggling with this. I found the right OID's after contacting
Cisco, seems Cisco changed the OID's for the version of IOS I am running,
I can poll the routers with snmpwalk or snmpget and get the correct results.
I'm running MRTG on a RH9 box and I'm not sure what the MRTG config file
should look like to see the amount CRC errors collected by MRTG polling at
the times on the graph. MRTG logs show the right figures but I do not see
anything on the graph. I am polling every 5 minutes, everything is default
on MRTG.
----- Original Message -----
Sent: Saturday, June 05, 2004 11:45 AM
Subject: [mrtg] Re: Monitor CRC & Framing Errors
Post by h***@qwest.net
Hi, I wuld like to monitor CRC and Framing errors on the serial
ports of 1720 routers. I have 11 1720's and 21 Serial ports (T1's)
that I need to monitor. It would be great to just to browse to a
webpage and check for errors rather than log in to each router. I
tried using the CRC template off somix.com. MRTG creates the graphs
and looks like it's querying the routers, but no data is displayed.
Anyone that could help would be greatly appreciated. Thanks in
advance.
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Daniel C
2004-06-17 05:12:33 UTC
Permalink
Is it possible to have the average in Day, Week or
Month in 5 minutes interval? I am using MRTG to
monitor packet loss so it would be very ambiguous to
look at the weekly graph where it is presenting in 30
minutes average. Thanks for any help

Daniel



__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Nejaa Halcyon
2004-06-17 17:15:37 UTC
Permalink
One option I can present to you Daniel is WithPeak. This will add the
maximum five minute average that was obtained within the polling
interval (30 min, 2 hr, 1 day).


Quoth the man page: (never more! -Poe)

[...snip...]
By default the graphs only contain the average values of the monitored
variables - normally the transfer rates for incoming and outgoing
traffic. The following option instructs mrtg to display the peak 5
minute values in the [w]eekly, [m]onthly and [y]early graph. In the
example we define the monthly and the yearly graph to contain peak as
well as average values.

Examples:

WithPeak[ezwf]: ym
[...!snip...]


Hope that helps,
Nejaa
Post by Daniel C
Is it possible to have the average in Day, Week or
Month in 5 minutes interval? I am using MRTG to
monitor packet loss so it would be very ambiguous to
look at the weekly graph where it is presenting in 30
minutes average. Thanks for any help
Daniel
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
--
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
PAUL WILLIAMSON
2004-06-17 15:16:45 UTC
Permalink
<snip>
Post by Eric Brander
Post by h***@qwest.net
I'm running MRTG on a RH9 box and I'm not sure what the MRTG config file
should look like to see the amount CRC errors collected by MRTG polling at
the times on the graph. MRTG logs show the right figures but I do not see
anything on the graph. I am polling every 5 minutes, everything is default
on MRTG.
~snip~
Why not just use this?
The only problem is that it gets ALL the errors, no matter what type.
But I think it will do what you want. If you're truly trying to track
how many framing errors vs CRC errors, then maybe you should spend more
time trying to fix the errors than to chart them. Just my humble opinion
of course.
Eric Brander
Right, but don't forget that this number (whatever it is) is a rate. Unless you
have a really bad network connection, I doubt you'll get a meaningful number.
If you have 300 CRC errors in a 5 minute period, you'll only have 1 in the log
file. Is this what you intend? Or, do you have links that are far above 300
errors per 5 minute window?

Paul
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
h***@qwest.net
2004-06-17 16:04:22 UTC
Permalink
--snip--
track
Post by PAUL WILLIAMSON
Post by Eric Brander
how many framing errors vs CRC errors, then maybe you should spend more
time trying to fix the errors than to chart them. Just my humble opinion
of course.
--snip--

I would like nothing more than to just have the T1's run clean all the time,
but we are using this as an easier way to keep track of T1's with errors.
Our wan consists of over 30 T1's the LEC that controls these T1's seems to
always have a problem on at least one each week. It is a lot easier to look
at one webpage with 30 charts and see if there are errors rather than log
into each router and check for CRC's.

Many thanks to all of the people that helped me. I finally am able to track
CRC and framing error's correctly and consistantly.

My next task is to produce a webpage that shows if the actual interface of
each router is up or down and I have to be able to chart that on time line
also. Can I do that with MRTG?

Henry


----- Original Message -----
From: "PAUL WILLIAMSON" <***@mandtbank.com>
To: <***@list.ee.ethz.ch>
Sent: Thursday, June 17, 2004 10:16 AM
Subject: [mrtg] Re: please help - Re: Re: Monitor CRC & Framing Errors
Post by PAUL WILLIAMSON
<snip>
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Daniel C
2004-06-18 19:26:55 UTC
Permalink
Is it possible to monitor two performance counters
with Getlog.pl? For example, this is what I would
like to be able to graph on one single graph

Target[TCPReset]: `perl getlog.pl
d:\Perflogs\ISA01.csv "\\local\TCPv4\Connections
Reset"`&`perl getlog.pl d:\Perflogs\ISA01.csv
"\\local\TCPv4\Connections
Failures"`

As of the moment, when I run the config file with this
target, MRTG is only logging the Connections Failures
and not both.

Any help is greatly appreciated. Thanks



__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Eric Brander
2004-06-18 19:57:57 UTC
Permalink
Post by Daniel C
Is it possible to monitor two performance counters
with Getlog.pl? For example, this is what I would
like to be able to graph on one single graph
Target[TCPReset]: `perl getlog.pl
d:\Perflogs\ISA01.csv "\\local\TCPv4\Connections
Reset"`&`perl getlog.pl d:\Perflogs\ISA01.csv
"\\local\TCPv4\Connections
Failures"`
As of the moment, when I run the config file with this
target, MRTG is only logging the Connections Failures
and not both.
Any help is greatly appreciated. Thanks
I hacked my getlog.pl and made a getlog_two.pl. I'm no perl scripter so
this may not be the ideal way to do this but it works great.

# getlog_two.pl
#
# Author: Paul Simmonson
#
# Modified by Eric Brander to get 2 targets from one CSV.
#
# Input: filename of Windows 2000 Performance monitor log file (must be
CSV format)
# Name of log item to extract
# eg. perl getlog_two.pl c:\perflogs\K6.csv "\\K6\LogicalDisk(C:)\% Disk
Time" "\\K6\LogicalDisk(D:)\% Disk Time"
# Output: mrtg data format
#
$STUFF=@ARGV[0];
open STUFF or die "Cannot open $STUFF for read :$!";
@entries = <STUFF>;
@details=split /,/, @entries[0]; #get the first line of the log file
@lastline=split /,/, @entries[$#entries]; #get last line of log file

#find the entry that matches $ARGV[1]
$index=-1;
for $entry (@details) {
$index++;
$entry=~ tr/"//d;
chomp ($entry);
$last=$entry;
last if $entry eq $ARGV[1];
}

if ($last eq $ARGV[1]) {
$dataI=@lastline[$index];
$dataI=~ tr/"//d;
$dataI = int($dataI+0.5);
} else {
$dataI = "Not Found";
}


#find the entry that matches $ARGV[2]
$index=-1;
for $entry (@details) {
$index++;
$entry=~ tr/"//d;
chomp ($entry);
$last=$entry;
last if $entry eq $ARGV[2];
}

if ($last eq $ARGV[2]) {
$dataO=@lastline[$index];
$dataO=~ tr/"//d;
$dataO = int($dataO+0.5);
} else {
$dataO = "Not Found";
}


print "$dataI\n";
print "$dataO\n";
print "0\n";
print "0\n";

### End of script

Enjoy.

Eric Brander
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Continue reading on narkive:
Loading...