[mrtg] Re: [mrtg]SNMP2CA-STD/SNMP4tPC issues

Jaun Keeve Jaun.Keeve at 2cana.co.za
Tue Dec 9 15:25:24 MET 2003


Hi Makai

Thanks for the help I seem to be getting somewhere now.
I un-installed everything and started again and it seems to keep the index file now. 

The problem I am having now is  running cfgmaker, following your advice my command is as follows,
C:\mrtg\bin>perl cfgmaker --global "WorkDir: c:\www\mrtg" --output mrtg.cfg 
  1.3.6.1.2.1.25.3.3.1.2:public at host_ip

The OID I got from getif being the following,
 .1.3.6.1.2.1.25.3.3.1.2 -- The average, over the last minute, of the percentage of time that this processor was not
 					idle.

But still I get the following error message

C:\mrtg\bin>perl cfgmaker --global "WorkDir: c:\www\mrtg" --output mrtg.cfg 1.3.6.1.2.1.25.3.3.1.2:
ublic at host_ip
--base: Get Device Info on 1.3.6.1.2.1.25.3.3.1.2:public at host_ip:
SNMP Error:
no response received
SNMPv1_Session (remote host: "host_ip" [host_ip].161)
                  community: "1.3.6.1.2.1.25.3.3.1.2:public"
                 request ID: -565799535
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 621
SNMPWALK Problem for 1.3.6.1.2.1.1 on 1.3.6.1.2.1.25.3.3.1.2:public at host_ip:::::v4only
 at cfgmaker line 775
WARNING: Skipping 1.3.6.1.2.1.25.3.3.1.2:public at host_ip: as no info could be retreived

--base: Writing mrtg.cfg

I aslo still seem to be getting nothing from snmp2ca

Many thanks

Jaun

-----Original Message-----
From: Makai József [mailto:jozsef.makai at siemens.com]
Sent: 09 December 2003 12:50
To: Jaun Keeve
Subject: RE: [mrtg] Re: [mrtg]SNMP2CA-STD/SNMP4tPC issues


Hi Jaun,

First I would use a command like

   perl cfgmaker --global "WorkDir: c:\www\mrtg" --output mrtg.cfg
public@[host_ip]

because the reference for cfgmaker say the synopsis is

   cfgmaker [options] [community@]router [[options] [community@]router ...]

It is normally makes a config file for the interfaces. When you check the
config file you can see, that the OIDs are never used alone, always two of
them are used.
At the end of the OIDs you will see the instance number. Those are
important, for instance in case of the interfaces those tell you which
interface is addressed (and so with the other objects ...)

I use Getif 2.3.1, but the OIDs are never gone. Any messages in the
getif.log?

Jozsef



> -----Original Message-----
> From: Jaun Keeve [mailto:Jaun.Keeve at 2cana.co.za]
> Sent: Tuesday, December 09, 2003 11:06 AM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] Re: [mrtg]SNMP2CA-STD/SNMP4tPC issues
> 
> 
> Hi
> 
> I am new to this and I don't seem to be getting any of it right!!
> 
> I have read the FAQ's, support pages and the history about 
> the subject in this mailing list and apologies in advance if 
> this annoys anyone.
> 
> My first issue is this: I have installed SNMP4tPC and 
> extracted the mibs. Deleted the index file and started Getif. 
> This works fine, then if I close getif and open it again the 
> OIDs are gone. I then have to delete the index file again as 
> I did above.
> 
> Secondly I install SNMP2CA-STD. This does nothing!! running 
> RmSnmpExt.exe does nothing and no new OIDs can be seen.
> 
> Also if I run the cfgmaker for mrtg none of the oids can be 
> found, even though I can see them in Getif. I run the command 
> as follows
> perl cfgmaker .1.3.6.1.2.1.1.3:public@[host_ip] --global 
> "WorkDir: c:\www\mrtg" --output mrtg.cfg
> 
> I have tried excluding the first 'dot', but nothing. The 
> community name is correct "public@[host_ip]", this returns values.
> 
> I know this is a mouthful, but any help would be appreciated
> 
> Many thanks
> 
> Jaun
> 
> --
> 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