[mrtg] Re: OID's not working

PAUL WILLIAMSON pwilliamson at mandtbank.com
Mon Aug 26 23:16:30 MEST 2002


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

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

I have the following problem. I'm trying to get snmp stats with mrtg from a w2k box. If i use the snmputil (reskit) like:
snmputil get xxx.xxx.xxx.xxx public  .1.3.6.1.4.1.311.1.1.3.1.1.1.1.0

I get a good result :

Variable = .iso.org.dod.internet.private.enterprises.microsoft.software.systems.
os.windowsNT.performance.memory.memoryPageFaultsPerSec.0
Value    = Integer32 3246

If i now try to create a cfg file for mrtg with:

perl cfgmaker .1.3.6.1.4.1.311.1.7.3.1.6.0:public at xxx.xxx.xxx.xxx >dc01cputest.cfg

I get :

--base: Get Device Info on public at .1.3.6.1.4.1.311.1.7.3.1.6.0:public at xxx.xxx.xxx.xxx 
SNMP Error:
no response received
SNMPv1_Session (remote host: "xxx.xxx.xxx.xxx" [xxx.xxx.xxx.xxx].161)
                  community: "public at .1.3.6.1.4.1.311.1.7.3.1.6.0:public"
                 request ID: 1771712545
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for sysDescr sysContact sysName sysLocation sysObjectID on publi
c at .1.3.6.1.4.1.311.1.7.3.1.6.0:public at xxx.xxx.xxx.xxx 
--base: Vendor Id:
--base: Populating confcache
--snpo: Skipping ifName scanning because public at .1.3.6.1.4.1.311.1.7.3.1.6.0:public at xxx.xxx.xxx.xxx does not seem to support it
--snpo: Skipping ifDescr scanning because public at .1.3.6.1.4.1.311.1.7.3.1.6.0:public at xxx.xxx.xxx.xxx does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public at .1.3.6.1.4.1.311.1.7.3.1.6.0:public at xxx.xxx.xxx.xxx does not seem to support it
--snpo: Skipping ifType scanning because public at .1.3.6.1.4.1.311.1.7.3.1.6.0:public at xxx.xxx.xxx.xxx does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public at .1.3.6.1.4.1.311.1.7.3.1.6.0:public at xxx.xxx.xxx.xxx does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
no response received
SNMPv1_Session (remote host: "xxx.xxx.xxx.xxx" [xxx.xxx.xxx.xxx].161)
                  community: "public at .1.3.6.1.4.1.311.1.7.3.1.6.0:public"
                 request ID: 1771712551
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public at .1.3.6.1.4.1.311.1.7.3.1.6.0:public at xxx.xxx.xxx.xxx 

and 4 times more.

Anybody has an idea of what is going on?

Greetings Eric - Italy


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