On Thu, 2008-11-20 at 08:44 +0100, Jakub M wrote:
> Hello in this fresh morning*
> 
> I have encounterd a problem described in this post pn the list:
> https://lists.oetiker.ch/pipermail/mrtg/2003-July/024907.html
> 
> I have Cat4k switch and I want cfgmaker to obtain normal interface
> names 1/1 1/2 ..., and now i have only some raw port numbers that does
> not give me any information, what chart shows what traffic. Is it
> solvable?

Are you using --ifref=name ?

I used to use this simple --if-template on catos - it seemed to work
fine, but I haven't run catos in years.  Whilst running IOS I use a much
different.

#catos.iftemplate
if (not $problem_lines) { 
$target_lines .= <<ONEINTERFACE
Target[$target_name]: $if_ref:$router_connect
routers.cgi*ShortDesc[$target_name]: $html_if_snmp_name - $if_port_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 - $if_port_name 
PageTop[$target_name]: <H1>$if_port_name - Traffic </H1>
ONEINTERFACE
;
}
else {
    $head_lines="";
    $problem_lines="";
    $target_lines="";
    $separator_lines="";
}

-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to