[mrtg] Re: AW: AW: Syntax for mathematical operations

David Sawyer david.sawyer at uk.mckhboc.com
Fri Oct 12 12:29:51 MEST 2001

> Problem solved:
>  8 - .oid5&.oid5:xyz at zxy.ch - .oid6&.oid6:xyz at zxy.ch -
> .oid7&.oid7:xyz at zxy.ch - .oid8&.oid8:xyz at zxy.ch
> I never had to use the leading point at the oid... All other stuff I made
> until yet work perfect without these points.
I doubt it was the leading period that solved the problem, MRTG will work
with or without it.

It would more likely to be the spaces before and after the minus signs.

You should also try to make your multi targets more readable, MRTG (well,
Perl really) will allow you to split one line into several and append them
together as one line as long as the next line starts with a space, e.g.

Target[device]: 8  -  oid5&oid5:CommStr at device  -
                               oid6&oid6:CommStr at device  -
                               oid7&oid7:CommStr at device  -
                               oid8&oid8:CommStr at device


David Sawyer

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