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: declaring the global variable in net-snmp-5.4.2.1

2011-01-31 Thread Wes Hardaker
Global variables are declared in one file above any functions as: int my_variable; and used in the other as: extern int my_variable; -- Wes Hardaker Cobham Analytic Solutions -- Special Offer-- Download ArcSight

Re: Support for SHA-2 family of hash functions (i.e., SHA-224, SHA-256, SHA-384 and SHA-512)

2011-01-31 Thread Wes Hardaker
> On Fri, 28 Jan 2011 13:35:14 +, Dave Shield > said: DS> Please see DS> http://net-snmp.sourceforge.net/wiki/index.php/Strong_Authentication_or_Encryption DS> In particular, note the final paragraph I actually just amended that page as it was out of date. Quick, re-read it! --

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

trap daemon

2011-01-31 Thread th exterit
Hi, 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). Can somebody point me in the right direction? I have had a look at apps/snmptrap*.c but I quickly ran out of steam when trying to follow it