[mrtg] Re: MRTG questions

David Sawyer david.sawyer at uk.mckhboc.com
Tue Nov 6 10:46:19 MET 2001


You use the OID within your Target parameter.

Take a look at...
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html#item_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)

> -----Original Message-----
> From:	Bhupesh Devgun [SMTP:bdevgun at cadence.com]
> Sent:	Tuesday, November 06, 2001 8:48 AM
> To:	David Sawyer
> Cc:	mrtg-bounce at list.ee.ethz.ch
> Subject:	RE: [mrtg] Re: MRTG questions 
> 
> Hi David
>          Thanks for reply
>  My current mrtg.cfg is as following :
> ### Interface 14 >> Descr: '' | Name: '3/5' | Ip: '' | Eth:
> '00-30-7b-97-b1-0a' ###
> 
> Target[163.122.21.250_14]: 14:public at 163.122.21.250:
> SetEnv[163.122.21.250_14]: MRTG_INT_IP="" MRTG_INT_DESCR=""
> MaxBytes[163.122.21.250_14]: 125000000
> Title[163.122.21.250_14]: Traffic Analysis for 14 -- switch1
> PageTop[163.122.21.250_14]: <H1>Traffic Analysis 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>
> 
> How should my modified mrtg.cfg should look in the case I want to monitor
> CPU utilization,errors and Unicast/NonUnicast traffic ?
> 
> I dont know how to reflect the entries you mentioned in the above mrtg.cfg
> file !
> 
> 
----------------------------------------------------------------------------
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