<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Steve and All,<br>
<br>
Ok. Thanks. I understand, but where I have to type the
line(routers.cgi*HRule[mytarget]: 1024000 "Normal usage limit"). Look
part of my router.cfg:<br>
<br>
### Global conf ###<br>
<br>
EnableIPv6: no<br>
Imagedir: /u/local/etc/httpd/htdocs/mrtg/img<br>
Logdir: /u/local/etc/httpd/htdocs/mrtg/log<br>
Htmldir: /u/local/etc/httpd/htdocs/mrtg<br>
WithPeak[_]: wmy<br>
Options[_]: bits,growright<br>
## I from Brazil!<br>
Language: brazilian<br>
.....<br>
### Interface 6 >> Descr: 'Serial1' | Name: 'Se1' | Ip: '' | Eth:
'' ###<br>
<br>
Target[router_06]: <a class="moz-txt-link-abbreviated" href="mailto:6:public@10.8.4.1:">6:public@10.8.4.1:</a><br>
SetEnv[router_06]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial1"<br>
MaxBytes[router_06]: 48000<br>
Absmax[router_06]: 12000<br>
Title[router_06]: Analise de trafego para a porta 6 roteador link PSJF
<-> MultiRio<br>
PageTop[router_06]: <h1>Trafego porta 6 roteador link PSJF
<-> MultiRio</h1><br>
<div id="sysdetails"><br>
<table><br>
<tr><br>
<td>Sistema:</td><br>
<td>eadi-jf1 in
</td><br>
</tr><br>
<tr><br>
<td>Responsável:</td><br>
<td>Izabel Figueiredo
</td><br>
</tr><br>
<tr><br>
<td>Descrição:</td><br>
<td>Serial1 FRAME-RELAY
EMBRATEL </td><br>
</tr><br>
<tr><br>
<td>ifType:</td><br>
<td>frame-relay
(32)</td><br>
</tr><br>
<tr><br>
<td>ifName:</td><br>
<td>Se1</td><br>
</tr><br>
<tr><br>
<td>Max Speed:</td><br>
<td>384.0
kbits/s</td><br>
</tr><br>
</table><br>
</div><br>
<br>
I get the file router.cfg with a comand line like: <br>
<br>
/usr/bin/cfgmaker --global 'WorkDir:
/u/local/etc/httpd/htdocs/monitora' --global 'Imagedir:
/u/local/etc/httpd/htdocs/monitora/img' --global 'Logdir:
/u/local/etc/httpd/htdocs/monitora/log' --global 'WithPeak[_]: wmy'
--global 'Options[_]: bits,growright' --global 'Language: brazilian'
--output /u/local/bin/mrtg/novaconf.cfg <a class="moz-txt-link-abbreviated" href="mailto:xxx@10.8.4.1">xxx@10.8.4.1</a>)<br>
<br>
I imagem that I can see best MRTG graphics, but I don't have expirience
to work them.<br>
<br>
Best regards,<br>
<br>
[]'s Virgilio Pavel<br>
<br>
<br>
<br>
Steve Shipway escreveu:
<blockquote
cite="mid:6B587E8C999646469B54486AF219584606F6FA5CA9@UXCHANGE7-1.UoA.auckland.ac.nz"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I need represent a fixed line in a grafic of MRTG. For example, I have
to show in a picture a CIR line and EIR line of my link.
</pre>
</blockquote>
<pre wrap="">Normally you just set maxbytes to CIR, and absmax to PIR. That draws
two maxima lines.
But there are a couple of additional hacks in routers2.cgi for a third
line. I just don't remember them now.
</pre>
</blockquote>
<pre wrap=""><!---->
routers.cgi*HRule[targetname]: value "description"
eg:
routers.cgi*HRule[mytarget]: 1024000 "Normal usage limit"
You can use the HRule directive any number of times to create multiple
additional horizontal lines (in addition to the MaxBytes, AbsMax,
Thres{min|max}{i|o} horizontal lines). For multiple data lines, use
userdefined graphs merging multiple Targets into a single graph.
People who look through the routers2 code will find a parser definition for
routers.cgi*Line with embedded RPN - this is experimental only and not
activated yet, so don't use it.
Steve
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mrtg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg">https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
VIRGÍLIO GAUDERETO PÁVEL
A L B Automotive Logistics
Caixa Postal 15046- Dias Tavares
CEP 36.091-970 - Juiz de Fora/MG
<a class="moz-txt-link-abbreviated" href="mailto:virgilio.pavel@alb-logistics.com.br">virgilio.pavel@alb-logistics.com.br</a>
Trab.: (32) 3249-3444 Fax.: +55 (32) 3249-3440
</pre>
</body>
</html>