[mrtg] Re: Adding oid values together
Godfrey @ Lists
mrtg at compudoc.za.org
Wed Oct 1 15:11:26 MEST 2003
At 14:33 03/10/01, you wrote:
>It should be...
>
>1.3.6.1.4.1.2021.255.40002&1.3.6.1.4.1.2021.255.50002 + \
>1.3.6.1.4.1.2021.255.40003&1.3.6.1.4.1.2021.255.50003
>
>This says to add 40002 + 40003 = value 1 and 50002 + 50003 = value 2.
>
>Paul
Hi
Here is the target line
##---------------------------------------------------------------
#
Target[port123]: .1.3.6.1.4.1.2021.255.40002&.1.3.6.1.4.1.2021.255.50002 + \
.1.3.6.1.4.1.2021.255.40003&.1.3.6.1.4.1.2021.255.50003
:public at 209.203.2.68
when I run the following /usr/local/bin/mrtg /usr/local/etc/mrtg/hal9000.cfg
[root at miles] ~# /usr/local/bin/mrtg /usr/local/etc/mrtg/hal9000.cfg
ERROR: Target[port123][_IN_]
'.1.3.6.1.4.1.2021.255.40002&.1.3.6.1.4.1.2021.255.50002
+.1.3.6.1.4.1.2021.255.40003&.1.3.6.1.4.1.2021.255.50003
:public at 209.203.2.68' (warn): Array found where operator expected at (eval
31) line 1, at end of line
ERROR: Target[port123][_OUT_]
'.1.3.6.1.4.1.2021.255.40002&.1.3.6.1.4.1.2021.255.50002
+.1.3.6.1.4.1.2021.255.40003&.1.3.6.1.4.1.2021.255.50003
:public at 209.203.2.68' (warn): Array found where operator expected at (eval
32) line 1, at end of line
WARNING: Skipping Update of port123, inlast is not defined
WARNING: Skipping Update of port123, outlast is not defined
[root at miles] ~#
Sorry to be bothering you but I am out of my depth here and you would
appreciate the help
Thanks
Godfrey
--
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