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, and the shell is choking on the binary string value. You might have better luck converting this string into a (printable) hex equivalent, and use the "x" string type. Alternatively, use the normal agent trap API to send these traps to the defined trap destinations, or use the code from 'snmptrap.c' as a template to send these traps directly. Dave ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
