[mrtg] Re: Multi Target Syntax (with OID)
Albert Pang
albertp at nortelnetworks.com
Tue Feb 19 16:39:44 MET 2002
Here is the Target:
Target[all]:
1.3.6.1.4.1.3199.10.28.1.2.5.0&1.3.6.1.4.1.3199.10.28.1.2.5.0:public at devil +
1.3.6.1.4.1.3199.10.28.1.2.5.0&1.3.6.1.4.1.3199.10.28.1.2.5.0:public at markus
And here is the error messages:
> /usr/local/mrtg-2/bin/mrtg active_sub.cfg
Error:
can't resolve "1.3.6.1.4.1.3199.10.28.1.2.5.0" to IP address
at /export/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 392
SNMPGET Problem for public at 1.3.6.1.4.1.3199.10.28.1.2.5.0
at /usr/local/mrtg-2/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
Unknown SNMP var
at /usr/local/mrtg-2/bin/mrtg line 1491
WARNING: Expected a number but got '5:06:45'
Scalar found where operator expected at (eval 16) line 1, near "} $"
(Missing operator before $?)
ERROR: Target[bsn-all] eval warning: syntax error at (eval 16) line 1, near
"} $"
Thanks.
Albert.
-----Original Message-----
From: Sawyer, David [mailto:david.sawyer at uk.mckhboc.com]
Sent: Tuesday, February 19, 2002 16:21
To: Pang, Albert [HAHN:4747:EXCH]; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Multi Target Syntax (with OID)
Target[all]: OID1&OID2:public at host +
OID3&OID4:public at host2
The above should work fine but I've never polled two separate devices within
the same target.
If you have the target parameter on several lines, always put a few spaces
at the start of a line.
What is the exact error msg returned?
HTH
Dave
-----Original Message-----
From: Albert Pang [mailto:albertp at nortelnetworks.com]
Sent: 19 February 2002 15:00
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Multi Target Syntax (with OID)
I am using MRTG to monitor one OID of several devices.
And it works perfectly.
I would like to generate a extra graph monitoring the 'sum' of this variable
on the two devices.
Can you do the same thing with OID? When I tried the following:
Target[all]:
1.3.6.1.4.1.3199.10.28.1.2.5.0&1.3.6.1.4.1.3199.10.28.1.2.5.0:public at device1
+
1.3.6.1.4.1.3199.10.28.1.2.5.0&1.3.6.1.4.1.3199.10.28.1.2.5.0:public at device2
----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------
--
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