[mrtg] Re: Multi Target Syntax

Jerry Heidtke jheidtke at fmlh.edu
Wed Apr 9 21:09:36 MEST 2003


You only have one OID in each target request. You need two. Try

Target[10]:
.1.3.6.1.4.1.3085.3.1.5.3.1.32.6.0&.1.3.6.1.4.1.3085.3.1.5.3.1.32.6.0:pu
blic at ipaddress -
 
.1.3.6.1.4.1.3085.3.1.5.3.1.33.6.0&.1.3.6.1.4.1.3085.3.1.5.3.1.33.6.0:pu
blic at ipaddress +
 
.1.3.6.1.4.1.3085.3.1.5.3.1.34.6.0&.1.3.6.1.4.1.3085.3.1.5.3.1.34.6.0:pu
blic at ipaddress

If this is not all on one line in your config file, the continuation
lines need to be indented as shown.

Jerry

-----Original Message-----
From: Brad Darr [mailto:brad.darr at cybera.net] 
Sent: Wednesday, April 09, 2003 2:04 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Multi Target Syntax


All,

I am trying to collect Memory Utilization from my router and
unfortuneately
there is no direct OID for this.  As a result I have to take a few OID's
and
do some subtraction and addition.  I tried using the format for multi
target
syntax that is in the configuration reference manual but I keep getting
errors.  Any ideas what I might be doing wrong?  Is what I am trying to
do
possible?  Below is my Target configuration:

Target[10]: 1.3.6.1.4.1.3085.3.1.5.3.1.32.6.0:public at ipaddress -
1.3.6.1.4.1.3085.3.1.5.3.1.33.6.0:public at ipaddress +
1.3.6.1.4.1.3085.3.1.5.3.1.34.6.0:public at ipaddress

note: There is white space around + & - above.


Here is the error I am getting:

2003-04-09 13:30:02 -- Started mrtg
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1138.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1138.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1139.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1139.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1148.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1148.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1138.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1138.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1139.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1139.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1148.
2003-04-09 13:30:02 -- Use of uninitialized value at
/usr/local/mrtg-2/bin/../lib/mrtg2/MRTG_lib.pm line 1148.


Thanks.

Brad

--
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


Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

--
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