[mrtg] FW: Re: Multi Target Syntax
Brad Darr
brad.darr at cybera.net
Wed Apr 9 23:16:13 MEST 2003
With some help from list user I have the multi target syntax working.
My question now is - Is it possible to poll/graph 2 targets(on same graph)
when using the multi target syntax? On the same graph I would like to see
total available memory and memory in use. For example:
Target[10]: OID1&OID1:public at ipaddress -
OID2&OID2:public at ipaddress +
OID3&OID3:public at ipaddress -> at this point I want to poll another target
using multi target syntax
Thanks.
-Brad
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
------ End of Forwarded 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