[mrtg] Re: Not sure about cfgmaker and switches for ifref=....
James Liakos
James.Liakos at chubb.com.au
Wed Jul 7 02:00:20 MEST 2004
V.smart
:)
This is how it comes out now..
### Interface 2 >> Descr: 'Serial0/0' | Name: 'Se0/0' | Ip: '' | Eth: ''
###
Target[10.4.250.35_Serial0_0]: \Serial0/0:public at 10.4.250.35:
SetEnv[10.4.250.35_Serial0_0]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial0/0"
MaxBytes[10.4.250.35_Serial0_0]: 16000
Title[10.4.250.35_Serial0_0]: Traffic Analysis for Serial0/0 -- au720r01
PageTop[10.4.250.35_Serial0_0]: <H1>Traffic Analysis for Serial0/0 --
au720r01</
H1>
<TABLE>
<TR><TD>System:</TD> <TD>au720r01 in </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD>Serial0/0 *** Main Frame Relay Link ***
</TD></TR>
<TR><TD>ifType:</TD> <TD>frame-relay (32)</TD></TR>
<TR><TD>ifName:</TD> <TD>Se0/0</TD></TR>
<TR><TD>Max Speed:</TD> <TD>16.0 kBytes/s</TD></TR>
</TABLE>
This is how I had it before...
### Interface 2 >> Descr: 'Serial0/0' | Name: 'Se0/0' | Ip: '' | Eth: ''
###
Target[10.4.250.35_Se0_0]: #Se0/0:public at 10.4.250.35:
SetEnv[10.4.250.35_Se0_0]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial0/0"
MaxBytes[10.4.250.35_Se0_0]: 16000
WithPeak[10.4.250.35_Se0_0]: ymwd
XSize[10.4.250.35_Se0_0]: 600
YSize[10.4.250.35_Se0_0]: 100
Title[10.4.250.35_Se0_0]: Traffic Analysis for Se0/0 -- au720r01
PageTop[10.4.250.35_Se0_0]: <H1>Traffic Analysis for Se0/0 --
au720r01</H1>
<TABLE>
<TR><TD>System:</TD> <TD>au720r01 in </TD></TR>
<TR><TD>Maintainer:</TD> <TD></TD></TR>
<TR><TD>Description:</TD><TD>Serial0/0 Y216074403N </TD></TR>
<TR><TD>ifType:</TD> <TD>frame-relay (32)</TD></TR>
<TR><TD>ifName:</TD> <TD>Se0/0</TD></TR>
<TR><TD>Max Speed:</TD> <TD>16.0 kBytes/s</TD></TR>
</TABLE>
I have tried all other options but nothing...(they all name the file
with an _nn)....
-----Original Message-----
From: Pavel Ruzicka [mailto:pavouk at pavouk.org]
Sent: Wednesday, July 07, 2004 4:14 AM
To: mrtg at list.ee.ethz.ch
Cc: James Liakos
Subject: Re: [mrtg] Not sure about cfgmaker and switches for ifref=....
Hi,
> I have to add another Router to monitor but have no luck in getting
the
> interfaces numbered by interface type..
On cisco routers I use "--ifref=descr" and I will get this:
Target[10.0.250.1_FastEthernet0_0]: \FastEthernet0/0:public at 10.0.250.1
Best regards,
Pavel Ruzicka
> This is what I am getting
> Target[10.4.250.35_14]:
>
> But I want them to come out like this..
> Target[10.0.250.1_Fa1_0_0]
>
>
> This is what I am typing
>
> perl cfgmaker --ifref=name public at 10.4.250.35
*************************************************************
This email and any files attached are considered
confidential and intended solely for the use of the
individual or entity to whom this email is addressed.
If you have received this email in error, please send a
reply message to this email address.
This footnote also confirms that the above email has been
scanned for the presence of computer viruses.
*************************************************************
--
Unsubscribe mailto:mrtg-request at 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
More information about the mrtg
mailing list