############################################################################### # # interface-errors.template v20030106 by gvolk@gvolk.com # # The following is a mrtg template that can be used in conjunction with # cfgmaker for automatically building configs for monitoring interface # errors. # # Usage: cfgmaker --if-template=interface-errors.template public@router # # # This template is available under the GNU GPL. For more information, please # see http://www.gnu.org/copyleft/gpl.html. # # # Version History: # 20020806 - Initial Release # 20030106 - Added GPL Licensing Note # if ($if_ok) { my $target_name = $target_name . ".err"; my $directory_name = $directory_name . "-err"; $head_lines .= <$router_name $if_ref
System:$router_name in $html_syslocation
Maintainer:$html_syscontact
Description: In/Out Error counters
Resource:$if_ref
ECHO } #print $target_lines;