[mrtg] Cat OS 4000 port description 1/1

Jakub M burakozol at gmail.com
Thu Nov 20 14:54:42 CET 2008


I used --catname, and in case a port description is defined - I get a
description (John Smiths ), and if not - i get a regular port name
(2/12)

2008/11/20 McDonald, Dan <Dan.McDonald at austinenergy.com>:
> 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
>
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
>



More information about the mrtg mailing list