Re: Traps can't been sent and Mib file can't been accesssed

mmlucky Im <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks a lot for your help. I found I used the wrong format in snmpd.conf to
configure trap destination port number.

Now everything is working fine.


On Fri, Feb 20, 2009 at 12:35 AM, Dave Shield <[email protected]>wrote:

> 2009/2/17 mmlucky Im <[email protected]>:
> > I traced into the code, and found in main(snmpd.c), it may stuck in
> > init_mib_modules(). That the init_snmp never got a chance to be called.
>
> Does it work OK if you omit your MIB module?
>  (i.e. confirm that it is definitely your code that is triggering the
> problem)
>
>
> > I have only 2 items in the mib file I added, and I can see in the
> > initialization, netsnmp_register_scalar get called without problem. Then
> > after that, looks like the system keeps calling netsnmp_register_handler
> > endlessly.
> >
> > Does anyone know why this is happening?
>
> Assuming that this problem *is* in your module, it might be
> helpful if you posted the initialisation code in question.
>   How can we possibly guess what is wrong with code
> that we've never seen?!
>
> Dave
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.