[mrtg] Re: 4 interfaces on the same graph?

Martijn Koopsen MKoopsen at Energis.nl
Mon May 27 09:19:52 MEST 2002


First thing is that I made the config-files by hand to add up several
measurements.
Here is an example:


### Global Defaults
WorkDir: /home/mrtg/out
LogFormat: rrdtool
PathAdd: /usr/local/rrdtool-1.0.33/bin/
LibAdd: /usr/local/rrdtool-1.0.33/lib/perl/
Options[_]: gauge, growright, nopercent
Unscaled[_]: dwmy
YLegend[_]: #Modems
ShortLegend[_]: |
Background[_]: #009966
Legend1[_]: # Modems Dead 
Legend2[_]: # Modems in Use
LegendI[_]: Dead 
LegendO[_]: In Use
PageTop[_]: <H1> AS5300 Modems
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD> Location </TD></TR>
   <TR><TD>Maintainer:</TD><TD>Maintainer</TD></TR>
   <TR><TD></TD>
       <TD></TD></TR>
  </TABLE>

#---------------------------------------------------------------------------
----
#CallLoad AS5300
#---------------------------------------------------------------------------
----
Target[MODEMPOOL_modemload]:1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1
.1.6.0:Public at xxx.xxx.xxx.xxx +
1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public at xxx.xxx.xxx.xx
x +
1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public at xxx.xxx.xxx.xx
x + 1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public@
xxx.xxx.xxx.xxx +
1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public@
xxx.xxx.xxx.xxx +
1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public@
xxx.xxx.xxx.xxx +
1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public@
xxx.xxx.xxx.xxx +
1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public@
xxx.xxx.xxx.xxx +
1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public@
xxx.xxx.xxx.xxx +
1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public@
xxx.xxx.xxx.xxx +
1.3.6.1.4.1.9.9.47.1.1.10.0&1.3.6.1.4.1.9.9.47.1.1.6.0:Public@
xxx.xxx.xxx.xxx
MaxBytes[MODEMPOOL_modemload]: 2640
Title[MODEMPOOL_modemload]:  MODEMPOOL Total-modems
#---------------------------------------------------------------------------
-----
The target line needs to be one line. So no CR or anything else.
Also make sure there is a space between the ip address and the + and the
next OID.
Like space+space

Good luck,

Martijn

-----Original Message-----
From: Zeeshan Ahmed [mailto:zeeshan at worldcall.net.pk] 
Sent: zaterdag 25 mei 2002 10:51
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: 4 interfaces on the same graph?






 Hello i also wanted the same but when i tried this with my MRTG
 but i amnot getting any thing like what i want cananyone hel ome with this?

 Following is the cfg file i am using for this

############################################################################
> ####

 Target[203.81.192.1_4]:5:public at xxx.xxx.xxx.xxx: +
4:public at xxx.xxx.xxx.xxx:
 + 6:publi
 c at xxx.xxx.xxx.xxx: + 7:public at xxx.xxx.xxx.xxx: +
 SetEnv[xxx.xxx.xxx.xxx_4]: MRTG_INT_IP="202.125.139.18"
 MRTG_INT_DESCR="Serial2/0"
 MaxBytes[xxx.xxx.xxx.xxx_4]: 187500
 Title[xxx.xxx.xxx.xxx_4]: Traffic Analysis for 4 -- lhr-bb-router
 PageTop[xxx.xxx.xxx.xxx_4]: <H1>Traffic Analysis for 4 --
lhr-bb-router</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>lhr-bb-router in </TD></TR>
    <TR><TD>Maintainer:</TD> <TD></TD></TR>
    <TR><TD>Description:</TD><TD>Serial2/0 1.5MB </TD></TR>
    <TR><TD>ifType:</TD>     <TD>propPointToPointSerial (22)</TD></TR>
    <TR><TD>ifName:</TD>     <TD>Se2/0</TD></TR>
    <TR><TD>Max Speed:</TD>  <TD>1500.0 kbits/s</TD></TR>
    <TR><TD>Ip:</TD>         <TD>xxx.xxx.xxx.xxx()</TD></TR>
  </TABLE>
 ----- Original Message -----
> From: "Martijn Koopsen" <MKoopsen at Energis.nl>
> To: <mrtg at list.ee.ethz.ch>
> Sent: Friday, May 24, 2002 7:47 AM
> Subject: [mrtg] Re: 4 interfaces on the same graph?
>
>
> >
> >
> > In the config-file you can put the following statement
> >
> > Target[target]: OID:community at target1 + OID:community at target2 +
> > OID:community at target3 + OID:community at target4
> >
> > Remember to put spaces between the target and the +
> >
> > I am adding 96 OIDS in one line
> >
> >
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > Martijn Koopsen
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >
> > -----Original Message-----
> > From: Gabriel Lorenzo [mailto:needle at arrakis.es]
> > Sent: vrijdag 24 mei 2002 15:59
> > To: mrtg at list.ee.ethz.ch
> > Subject: [mrtg] 4 interfaces on the same graph?
> >
> > How can I represent 4 Interfaces on the same graph . Do I have to us
> > RRDTool? .
> > Someone can Show me an example?
> >
> >     Thanks, Gabriel.
> >
> >
> > --
> > 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
> >
> >
> >
>
#***************************************************************************
> > #
> > # This e-mail is from Energis NV, K.P. van der Mandelelaan 130-144, 3062
> MB,
> > # Rotterdam, Netherlands.
> > #
> > # This e-mail is confidential to the addressee and may be privileged.
The
> > # views expressed are personal and do not necessarily reflect those of
> > # Energis. If you are not the intended recipient please notify the
sender
> > # immediately by calling the senders telephone number as printed in the
> > # signature of this message and do not disclose to another person or
use,
> > # copy or forward all or any of it in any form.
> > #
> >
>
#***************************************************************************
> >
> >
> > --
> > 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
> >
> >
>

--
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


#***************************************************************************
#
# This e-mail is from Energis NV, K.P. van der Mandelelaan 130-144, 3062 MB,
# Rotterdam, Netherlands.
#
# This e-mail is confidential to the addressee and may be privileged. The
# views expressed are personal and do not necessarily reflect those of
# Energis. If you are not the intended recipient please notify the sender
# immediately by calling the senders telephone number as printed in the
# signature of this message and do not disclose to another person or use,
# copy or forward all or any of it in any form.
#
#***************************************************************************


--
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