> > 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. > > 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.
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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
