Re: trap daemon

2011-02-01 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 1 Fe

Re: trap daemon

2011-01-31 Thread Dave Shield
On 31 January 2011 14:52, th exterit wrote: > I've been tasked with writing a trap listener in C which will then take > specific device info from these traps and shove them in a database > (postgresql). Which version of the software are you using? The 5.6 release has an SQL module for snmptrapd,

RE: trap daemon

2011-01-31 Thread Ron Rader
Look at "snmptrapd," especially the tutorial http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd#Example _handler_script . You might be able to implement this by configuring snmptrapd appropriately, then writing scripts to extract trap information & insert into your DB. Ron