Can net-snmp listen for traps on 2 different ports?

2010-10-01 Thread Shoma S Achar
Hi, Can net-snmp can listen for traps on 2 different ports and process traps that it receives on both these ports? Could anyone please let me know if this is possible? And if yes, how would I configure it to behave in this manner? -- Shoma

Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin

2010-10-01 Thread Bart Van Assche
On Thu, Sep 30, 2010 at 10:44 PM, Leo Lin hayashi_...@yahoo.com wrote: [ ... ] $grep LIBS config.log [ ... ] LMIBLIBS='-ldl -lpthread ' [ ... ] The above means that either the line NETSNMP_SEARCH_LIBS(pthread_create, pthread LMIBLIBS) has not been removed from

Possible bug in snmp_sess_timeout()

2010-10-01 Thread Tsolakos Stavros
Hi all. Red-Hat Enterprise Linux 5.4, amd64, net-snmp 5.5 I got some crashes when running my subagent. They occurred in snmp_sess_timeout(), file ./snmplib/snmp_api.c, line 6537: orp-next_request = rp-next_request; I can see that orp is initialized to NULL at the beginning of the function and

Fwd: AIX Net SNMP install make error

2010-10-01 Thread I Apong
Hi, My Net-SNMP account was un-subscribed when I posted this mail - now changed. Is it possible that I missed any response to this post, how can I check if so? Thanks, Ian Original Message Subject:AIX Net SNMP install make error Date: Wed, 29 Sep 2010 16:13:47

Re: Can net-snmp listen for traps on 2 different ports?

2010-10-01 Thread Shoma S Achar
Hi, I am using the snmptrapd application to receive the snmp traps. I tried changing the snmptrapd.conf file as mentioned in this link: http://net-snmp.sourceforge.net/docs/man/snmptrapd.conf.html http://net-snmp.sourceforge.net/docs/man/snmptrapd.conf.htmlBut, it did not work. In this conf

when is an handler called?

2010-10-01 Thread Leo Cacciari
Hi, I'm trying to understand a thing about the new API. What does it means that A handler is netsnmp_create_handler() created and then netsnmp_register_handler() registered with the main agent at a given OID in the OID tree and gets called any time a request is made that it should respond to.

Re: when is an handler called?

2010-10-01 Thread Dave Shield
On 1 October 2010 16:54, Leo Cacciari leo.cacci...@gmail.com wrote: I'm trying to understand a thing about  the new API. What does it means that A handler is netsnmp_create_handler() created and then netsnmp_register_handler() registered with the main agent at a given OID in the OID tree and

How to stop deprecated table from responding

2010-10-01 Thread kavita raghunathan
Hello, AT Table is deprecated in mibII, yet net-snmp responds. How can I get it to not respond without removing any code ? Is this possible ? I'm using agent net-snmp 5.5 over linux. Thanks, Kavita -- Start

Re: How to stop deprecated table from responding

2010-10-01 Thread Tsolakos Stavros
Hi. AT Table is deprecated in mibII, yet net-snmp responds. How can I get it to not respond without removing any code ? Is this possible ? Have a look at the -I option. Perhaps starting snmpd with '-I atTable' or something similar, could work. HTH, Stavros

net-snmp 5.4.3 - Not able to receive traps for snmpv3

2010-10-01 Thread Ravi Chandran
Hi, I have downloaded net-snmp 5.4.3 source and compiled with IPV6 and open ssl support. I’m testing to see if we are able to receive traps from ipv6 based devices in addition to supporting ipv4 too. For SNMP v2, I ran snmptrapd from command line with the following options: Conf file

RE: net-snmp 5.4.3 - Not able to receive traps for snmpv3

2010-10-01 Thread Ron Rader
You have to configure each agent's engine ID on the trap destination along with corresponding user information if you want V3 traps. You have to configure engine ID even if you use noAuthNoPriv security level. Ron From: Ravi Chandran