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
> 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
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?
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
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
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
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 ==