[mrtg] Re: MRTG questions

David Sawyer david.sawyer at uk.mckhboc.com
Tue Nov 6 11:39:34 MET 2001


Here is what I use, watch out for the line wrapping.

#--------Start
Target[switch1_14_errors]:
IfInErrors.14&IfOutErrors.14:public at 163.122.21.250  *  300
SetEnv[switch1_14_errors]: MRTG_INT_IP="" MRTG_INT_DESCR=""
MaxBytes[switch1_14_errors]: 1000
AbsMax[switch1_14_errors]: 5000
Options[switch1_14_errors]: growright, withzeroes, integer, nopercent
YLegend[switch1_14_errors]: Errors
WithPeak[switch1_14_errors]: MY
Legend1[switch1_14_errors]: Inbound Errors
Legend2[switch1_14_errors]: Outbound Errors
Legend3[switch1_14_errors]: Maximal Inbound Errors
Legend4[switch1_14_errors]: Maximal Outbound Errors
ShortLegend[switch1_14_errors]: Errors&nbsp
Title[switch1_14_errors]: Traffic Analysis for 14 -- switch1
PageTop[switch1_14_errors]: <H1>Errors for 14 --switch1</H1>
 <TABLE>
  <TR><TD>System:</TD>     <TD>switch1 in </TD></TR>
  <TR><TD>Maintainer:</TD> <TD></TD></TR>
  <TR><TD>Description:</TD><TD>  </TD></TR>
  <TR><TD>ifType:</TD>     <TD>Gigabit Ethernet (117)</TD></TR>
  <TR><TD>ifName:</TD>     <TD>3/5</TD></TR>
  <TR><TD>Port Name:</TD>  <TD></TD></TR>
  <TR><TD>Max Speed:</TD>  <TD>125.0 MBytes/s</TD></TR>
 </TABLE>
#--------End

I suggest that you read the docs again, look at what I've added to the
config and try to understand why it's there.
If you have any problems understanding the config, I (and others) are here
to help, but I won't create any more configs for you...unless you pay me or
buy a book from my web site  :-)

To get a feel how it works. change/remove items from the config and see what
is does, ie
remove 'integer' or 'nopercent'
change the 'Legend1234' parameters
add 'unscaled[]: '

HTH

David Sawyer

> -----Original Message-----
> From:	Bhupesh Devgun [SMTP:bdevgun at cadence.com]
> Sent:	Tuesday, November 06, 2001 9:50 AM
> To:	David Sawyer
> Cc:	'MRTG Mailing list'
> Subject:	RE: [mrtg] Re: MRTG questions 
> 
> Hi David
>          I have already gone through the docs .
> Can you pls modify my  mrtg.cfg and email me back !
> 
> 
> Thanks and Regards
> 
> Bhupesh Devgun
> 
> 
> > -----Original Message-----
> > From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
> > Behalf Of David Sawyer
> > Sent: Tuesday, November 06, 2001 3:16 PM
> > To: 'Bhupesh Devgun'
> > Cc: 'MRTG Mailing list'
> > Subject: [mrtg] Re: MRTG questions
> >
> >
> >
> > You use the OID within your Target parameter.
> >
> > Take a look at...
> > http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html#ite
> > m_Explicit
> > _OIDs
> >
> > Basically...
> > Target[device]: OID1.instance1&OID2.instance2:public at myrouter
> >
> > You will also need to change your labels and key, look for...
> >
> > Legend1, Legend2, Legend3, Legend4, LegendI, LegendO & YLegend
> >
> > With errors you have a few choices.
> >
> > Use "Options[]: PerHour" or what I do is multiply the target the polling
> > interval in seconds.
> >
> > If your using the default interval add a "  *  300" to the end of your
> > target, no quotes but the spaces are important, ie
> >
> > Target[device]: IfInErrors.14&IfOutErrors14:public at myrouter  *  300
> >
> > If you read the reference.html in your doc folder all this and more is
> > explained quite well.
> >
> > HTH
> >
> > Dave
> >
> > (It's Tuesday and I'm in a good mood, you lucky fellow)
> 
> 
----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------



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