Re: problem using snmptrap with a DateAndTime object

2008-06-19 Thread Dave Shield
2008/6/19 Zack Little <[EMAIL PROTECTED]>: > I'm not sure why my listener isn't translating it properly since it handles > standard DateAndTime objects (such as hrSystemDate) just fine. Does your listener load and use the MIB definitions for this object? Remember that DateAndTime is not a distinc

RE: problem using snmptrap with a DateAndTime object

2008-06-18 Thread Zack Little
2:58 +0100> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Subject: Re: problem using snmptrap with a DateAndTime object> CC: [email protected]> > 2008/6/17 Zack Little <[EMAIL PROTECTED]>:> > The child calls snmptrap via an execvp call a

Re: problem using snmptrap with a DateAndTime object

2008-06-18 Thread Dave Shield
2008/6/17 Zack Little <[EMAIL PROTECTED]>: > The child calls snmptrap via an execvp call and then the child exits. > > This is working great for standard data types (integer, ip address, string, > etc.). I can't seem to get this to work with my DateAndTime object. I suspect Magnus is right,

Re: problem using snmptrap with a DateAndTime object

2008-06-17 Thread Magnus Fromreide
On Tue, 2008-06-17 at 14:54 -0400, Zack Little wrote: > I have defined a custom MIB for queries and that is working fine. I > now want to have my device send some traps that I have created in my > custom MIB file. Right now what I'm doing is having an application > that runs on my device fork off

problem using snmptrap with a DateAndTime object

2008-06-17 Thread Zack Little
I have defined a custom MIB for queries and that is working fine. I now want to have my device send some traps that I have created in my custom MIB file. Right now what I'm doing is having an application that runs on my device fork off a child process to handle the sending of the trap. The c