On 13 Mar 2003 13:54:11 -0800 Jack Coates <[EMAIL PROTECTED]> wrote:

> Geez, I kinda feel like I should mark this OT since it's just a problem
> about Linux and my computer...
> 
> I'm trying to use a new MIB with ucd-snmp on Mandrake 9.0. I've started
> doing some reading, whoever named this Simple Network Management
> Protocol must have been thinking "Simple in comparision to building the
> Golden Gate Bridge" or something.

LOL...  it's the Protocol that's simple -- not the MIBs...

> Any way, it looks like the process is to use a series of tools which
> compile the mib into C code and then turn it into a loadable module
> which the snmpwalk and snmpd agents will then be able to access
> transparently.
> 
> My problem is that the first tool in the chain, mib2c, dies with a
> complaint that Perl-SNMP isn't there. But it is.
> perl-Net-SNMP-4.0.2-1mdk
> perl-SNMP-MIB-Compiler-0.06-3mdk (out of Cooker as the 9.0 version
> refused to install because of a fubar'd dependencies statement; however
> the code is still 0.06.)
> 
> I'm hesitant to start over from the latest source, which is of course
> the recommendation to all problems at net-snmp.souceforge.net. Any
> ideas?
> 

I just installed ucd-snmp and ucd-snmp-utils (libsnmp0 was already
installed) from the 9.0 CDs, did "service snmpd start" and as a regular
user issued "snmpwalk localhost public system":
system.sysDescr.0 = Linux gypsy.pfortin.com 2.4.19-16mdk #1 Fri Sep 20
18:15:05 CEST 2002 i686
system.sysObjectID.0 = OID: enterprises.ucdavis.ucdSnmpAgent.linux
system.sysUpTime.0 = Timeticks: (877) 0:00:08.77
system.sysContact.0 = Root <[EMAIL PROTECTED]> (configure
/etc/snmp/snmp.conf)
system.sysName.0 = gypsy.pfortin.com
[snip]

Next, I got the same thing you do with mib2c...  I'm not a perl type; but
tried:
perl -MCPAN -e 'install SNMP'
which failed...  similar problem on my 8.2 box...

But... if you're just looking to read the MIBs, you should have enough
once snmpwalk is running...

HTH,
:^Pierre




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to