[mrtg] Re: FW: Re: Multi Target Syntax
Koelstra, J. (Jan)
JKoelstra at MINSZW.NL
Thu Apr 10 09:11:45 MEST 2003
Brad,
Maybe an example will help. With the target line
Target[10]: OID1&OID4:public at ipaddress - OID2&OID5:public at ipaddress +
OID3&OID6:public at ipaddress
You get 2 values in your graph: one line contains the result of OID1 -
OID2 + OID3, the other shows the result of OID4 - OID5 + OID6.
Hth,
Jan.
-----Original Message-----
From: Brad Darr [mailto:brad.darr at cybera.net]
Sent: Wednesday, April 09, 2003 11:16 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] FW: Re: Multi Target Syntax
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
Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail.
Aan dit bericht kunnen geen rechten worden ontleend.
Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van het bericht te vernietigen.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt.
This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.
--
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