[mrtg] Re: OID's not working

PAUL WILLIAMSON pwilliamson at mandtbank.com
Tue Aug 27 02:08:46 MEST 2002


No, you can't put the OID in when you run cfgmaker.  It doesn't 
do custom OIDs.  You run cfgmaker without the OIDs.  After you 
run it, go into the file you just created and replace the 1 in 
1:community at device with the two OIDs.

Paul

>>> "Eric VDB" <ericvdb500 at hotmail.com> 08/26/02 05:23PM >>>

Paul, tried it but now i get:

C:\mrtg-2.9.22\bin>perl cfgmaker
1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0&1.3.6.1.4.1.3
11.1.1.3.1.1.2.1.3.0:public at xxx.xxx.xxx.xxx >dc01cputest.cfg
--base: Get Device Info on public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0: 
Error:
  can't resolve "1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0" to IP address
SNMPGET Problem for public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0: 
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because
public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.
0: does not seem to support it
--snpo: Skipping ifDescr scanning because
public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3 
.0: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because
public at 1.3.6.1.4.1.311.1.1.3.1.
1.2.1.3.0: does not seem to support it
--snpo: Skipping ifType scanning because
public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.
0: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because
public at 1.3.6.1.4.1.311.1.1.3.1.1 
.2.1.3.0: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
Error:
  can't resolve "1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0" to IP address
SNMPWALK Problem for public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0: 
--base: Walking ifType
Error:
  can't resolve "1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0" to IP address
SNMPWALK Problem for public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0: 
--base: Walking ifSpeed
Error:
  can't resolve "1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0" to IP address
SNMPWALK Problem for public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0: 
--base: Walking ifAdminStatus
Error:
  can't resolve "1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0" to IP address
SNMPWALK Problem for public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0: 
--base: Walking ifOperStatus
Error:
  can't resolve "1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0" to IP address
SNMPWALK Problem for public at 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0: 
# Created by
# cfgmaker 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits


######################################################################
# System:
# Description:
# Contact:
# Location:
######################################################################


The filename, directory name, or volume label syntax is incorrect.


I'm totaly lost. Eric


----- Original Message -----
From: "PAUL WILLIAMSON" <pwilliamson at mandtbank.com>
To: <ericvdb500 at hotmail.com>; <mrtg at list.ee.ethz.ch>
Sent: Monday, 26 August, 2002 23:16
Subject: [mrtg] Re: OID's not working


>
> You use cfgmaker to build a config file with default in and out values.
>
> Use that to build a custom target.  The target you are interested in
> is OID1&OID2:community at device.  You'll need to find another
> OID that always returns 0 or use the same one twice.  I usually do
> the latter as it's just easier.
>
> Paul
>

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