When there is "no instance" object in a table, snmpgetnext skip the rest of the objects in the table and search for the next table

2007-09-05 Thread Emi Yanagi
I am reporting a bug in snmpgetnext. Here is how to reproduce the problem with nlmLogTable. NlmLogEntry ::= SEQUENCE { nlmLogIndexUnsigned32, nlmLogTime TimeStamp, nlmLogDateAndTime DateAndTime, nlmLogEngineID SnmpEngineID

Re: Paring down Net-SNMP

2007-09-05 Thread cnelson
> I've tried building a small agent for MIPS with net-snmp 5.1.4 and > it worked like a breeze for me. In fact, I had problems with 5.4.x > versions, and they were larger agents anyway. I needed net-snmp for > v2 trap generation only, and I was able to reduce the snmpd + all > the required .so

Re: Sending Traps..

2007-09-05 Thread Dave Shield
On 04/09/07, Jelena Savic <[EMAIL PROTECTED]> wrote: > How do i notify my agent that the trap needs to be sent to the manager? That's an ambiguous question. Do you mean How do I notify my agent *where* the trap should be sent? or How do I notify my agent *when* the trap should be sent?

Sending Traps..

2007-09-05 Thread Jelena Savic
How do i notify my agent that the trap needs to be sent to the manager? What is the flow of events that should happen from the time a trap occurs to the time a manager receives a trap? Thanks... - This SF.net email is spons

Re: Setting fdset for select without snmp_select_info

2007-09-05 Thread prijks
On Wed, September 5, 2007 11:36 am, [EMAIL PROTECTED] wrote: > prova = (unsigned int) &transport->sock; You're taking the address of the socket, not the value, then casting it to a uint. select wants the socket itself, not an address. Try dropping the &. Pete

Setting fdset for select without snmp_select_info

2007-09-05 Thread [EMAIL PROTECTED]
I'm triying to write an application that start a session and listen for traps on port 162. I'd like the application to be able to create several successive sessions. Having some problem with closing the previous session I'd like to set myself (without using snmp_select_info) the fdset and fds pa

Error in closing a session

2007-09-05 Thread [EMAIL PROTECTED]
In my application I open a session (in wich I want to listen for traps on port 162) like this: SOCK_STARTUP; init_snmp("snmpapp"); netsnmp_session session, *ss; netsnmp_transport *transport = NULL; transport = netsnmp_tdomain_transport("udp:162",1,"udp"); if (transport ==