[mrtg] Re: Adding oid values together
jon.hartman at verizon.com
jon.hartman at verizon.com
Thu Oct 2 17:52:01 MEST 2003
I was under the impression you had to specify one oid per retrieval, ie:
oid1&oid2:comm-string at device + oid1&oid2:comm-string at device
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Godfrey @ Lists
Sent: Wednesday, October 01, 2003 8:34 AM
To: PAUL WILLIAMSON
Cc: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Adding oid values together
At 15:09 03/10/01, you wrote:
>You changed what I wrote.
>
>Drop the leading periods in the 4 oids and it should work fine.
>
>Paul
Hello
Sorry about the mistake
I removed the leading periods
##---------------------------------------------------------------
#
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
But alas I still get
[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
Sorry to be a pain
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
--
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