<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE>
<!--
-->
</STYLE>

<STYLE>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:Verdana}
@font-face
        {font-family:"Arial Narrow"}
@font-face
        {font-family:Webdings}
@font-face
        {font-family:Consolas}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New"}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {margin-right:0cm;
        margin-left:36.0pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
span.HTMLPreformattedChar
        {font-family:Consolas}
span.EmailStyle19
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
-->
</STYLE>

<STYLE id=owaParaStyle type=text/css>P {margin-top:0;margin-bottom:0;}</STYLE>

<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY lang=EN-NZ style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma" vLink=purple link=blue ocsi="0" fpstyle="1">Now that the cfgs are being generated and since outgoing errors are always zero, is there a way to modify the template file to only log incoming errors?<BR><BR>
<DIV style="FONT-SIZE: 13px; COLOR: rgb(0,0,0); DIRECTION: ltr; FONT-FAMILY: Tahoma">
<DIV style="FONT-SIZE: 16px; COLOR: rgb(0,0,0); FONT-FAMILY: Times New Roman">
<DIV>
<DIV>&nbsp;</DIV>
<DIV>Here's the template file:</DIV>
<DIV>###############################################################################<BR>#<BR># interface-errors.template v20030106 by <A href="mailto:gvolk@gvolk.com" target=_blank>gvolk at gvolk.com</A><BR>#<BR># The following is a mrtg template that can be used in conjunction with<BR># cfgmaker for automatically building configs for monitoring interface<BR># errors.<BR>#<BR># Usage: cfgmaker --if-template=interface-errors.template <A href="mailto:public@router" target=_blank>public@router</A><BR>#<BR>#<BR># This template is available under the GNU GPL. For more information, please<BR># see <A href="http://www.gnu.org/copyleft/gpl.html" target=_blank>http://www.gnu.org/copyleft/gpl.html</A>.<BR>#<BR>#z<BR># Version History:<BR># 20020806 - Initial Release<BR># 20030106 - Added GPL Licensing Note<BR>#</DIV>
<DIV>&nbsp;</DIV>
<DIV>if ($if_ok) {</DIV>
<DIV>&nbsp;</DIV>
<DIV>my $target_name = $target_name . ".err";<BR>my $directory_name = $directory_name . "err";</DIV>
<DIV>&nbsp;</DIV>
<DIV>$head_lines .= &lt;&lt;ECHO;<BR>#&nbsp; Input/output errors&nbsp; for $target_name<BR>#---------------------------------------------------------------------<BR>ECHO</DIV>
<DIV><BR>$target_lines .= &lt;&lt;ECHO;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Target[$target_name]: ifInErrors.$if_index&amp;ifOutErrors.$if_index:$router_connect * 300<BR>RouterUptime[$target_name]: $router_connect<BR>Directory[$target_name]: $directory_name<BR>YLegend[$target_name]: Error Packets<BR>ShortLegend[$target_name]: /s<BR>Legend1[$target_name]: Error Packets<BR>ShortLegend[$target_name]: /s<BR>Legend1[$target_name]: Error Packets<BR>Legend2[$target_name]:<BR>Legend3[$target_name]: Error Packets<BR>Legend4[$target_name]:<BR>LegendI[$target_name]: &amp;nbsp;Inbound Error Packets:&amp;nbsp;<BR>LegendO[$target_name]: &amp;nbsp;Outbound Error Packets:&amp;nbsp;<BR>MaxBytes[$target_name]: 1000<BR>Options[$target_name]: growright, nopercent, unknaszero<BR>Title[$target_name]: $router_name $if_ref Errors<BR>PageTop[$target_name]: &lt;H1&gt;$router_name $if_ref&lt;/H1&gt;<BR>&lt;TABLE&gt;<BR>&lt;TR&gt;&lt;TD&gt;System:&lt;/TD&gt;&lt;TD&gt;$router_name in $html_syslocation&lt;/TD&gt;&lt;/TR&gt;<BR>&lt;TR&gt;&lt;TD&gt;Maintainer:&lt;/TD&gt;&lt;TD&gt;$html_syscontact&lt;/TD&gt;&lt;/TR&gt;<BR>&lt;TR&gt;&lt;TD&gt;Description:&lt;/TD&gt;&lt;TD&gt; In/Out Error counters &lt;/TD&gt;&lt;/TR&gt;<BR>&lt;TR&gt;&lt;TD&gt;Resource:&lt;/TD&gt;&lt;TD&gt;$if_ref&lt;/TD&gt;&lt;/TR&gt;<BR>&lt;/TABLE&gt;<BR>ECHO<BR>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>#print $target_lines;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV><PRE>===================
Texas Transportation Forum
www.texastransportationforum.com
</PRE></DIV></DIV></DIV><PRE>===================
Texas Transportation Forum
www.texastransportationforum.com
</PRE></BODY></HTML>