This is a discussion on Re: Trap processing - SNMP ; Dave Shield wrote: > On 18/10/06, Patai Tam=E1s wrote: >> Receive traps (for example with snmpd) then process the trap (by modifyi= ng >> snmptrapd) and get the variables of the MIB from the trap and store them= for >> ...
Dave Shield wrote:
> On 18/10/06, Patai Tam=E1swrote:
>> Receive traps (for example with snmpd) then process the trap (by modifyi=
ng
>> snmptrapd) and get the variables of the MIB from the trap and store them=
for
>> further processing.
> =
> You should be able to do this by registering a "traphandle" (in the
> snmptrapd.conf file) - either for specific traps or for "all" traps.
> This would be a simple program (or script) that would be invoked
> whenever a relevant trap is received - and would be passed the varbind
> payload list on standard input. You could then process this as you
> saw fit.
> There's no real need to touch the C code at all.
Also check out snmptt (http://snmptt.sourceforge.net/)
Alex
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...63057&dat=3D1=
21642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders