Re: [snmp agnet] Cannot find module (IP-MIB)

2007-12-20 Thread Dave Shield
On 20/12/2007, Tako Chang <[EMAIL PROTECTED]> wrote: > Do you mean that I should put mib files into /usr/local/share/snmp/mibs/ > at my target system and the snmpd will reference them when start up? Yes. Assuming that is where the library is configured to look. Dave -

Re: [snmp agnet] Cannot find module (IP-MIB)

2007-12-20 Thread Tako Chang
> > > > Cannot find module (IP-MIB): At line 0 in (none) > > Cannot find module (IF-MIB): At line 0 in (none) > > That looks as if the MIB files have not been properly installed. > How did you install your recompiled agent? >a (top level) "make install" should install the MIB files > automatic

Re: [snmp agnet] Cannot find module (IP-MIB)

2007-12-18 Thread Tako Chang
2007/12/17, Dave Shield <[EMAIL PROTECTED]>: > > On 17/12/2007, Tako Chang <[EMAIL PROTECTED]> wrote: > > but when I import some private MIBs and write down my code > > something strange happened to me. > > > > Initialize STBMgnt MIB //these two are my private mib and > I > > Initia

Re: [snmp agnet] Cannot find module (IP-MIB)

2007-12-17 Thread Dave Shield
On 17/12/2007, Tako Chang <[EMAIL PROTECTED]> wrote: > but when I import some private MIBs and write down my code > something strange happened to me. > > Initialize STBMgnt MIB //these two are my private mib and I > Initialize STBStats MIB // print these lines in init_s

Re:[snmp agnet] Cannot find module (IP-MIB)

2007-12-17 Thread 狄卫华
I think the problem is that you modified the mib_module_inits.h by hand. If you want to add a private MIB, you can use the "./configure" directive, typing "./configure -h" to get more details. see also: http://www.net-snmp.org/FAQ.html#How_do_I_add_a_MIB_ Hi guys, I port net-snmp to STLinu

[snmp agnet] Cannot find module (IP-MIB)

2007-12-16 Thread Tako Chang
Hi guys, I port net-snmp to STLinux and I'm very glad that the net-snmp works very well !! but when I import some private MIBs and write down my code something strange happened to me. Initialize STBMgnt MIB //these two are my private mib and I