Hi,
look at the CVS in:
http://cvs.sourceforge.net/viewcvs.py/net-snmp/net-snmp/perl/TrapReceiver/
and for the example look at the man page of TrapReceiver (after
installing net-snnp configured with embedded_perl support ):
man 3 NetSNMP::TrapReceiver
Hope this helps
Hugo CaÃote
mobby lin wro
Would you point me which example files I can refer, and how to compiler/use it? thanks,.
How to use handler perl module in C program or perl program?
Thanks.
MobbyHugo Ca蔞te <[EMAIL PROTECTED]> wrote:
Hi,Why don't try to use the TrapReceiver perl module?? If you compile the net-snmp package w
Hi,
Why don't try to use the TrapReceiver perl module?? If you compile the
net-snmp package with embedded perl support snmptrapd will execute a
perl handler that will process the SNMP trap received. There is an
example of the perl trap handler in the net-snmp distribution.
Hopoe this helps,
H
I need to used snmp-trap function to receive some trap/information messages, then run a external command to process the messages.
I try to understand the source file of snmptrapd in the net-snmp 5.2.1. To me, this is a little complex to understand the whole coding. Specially I trace the snmptrapd
Please check out http://in.geocities.com/ka12mon for a simple API for SNMP traps.
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
On Wed, 2 Jun 2004 14:31:40 -0400 Robert wrote:
RW> Is there an API call to send a trap that accepts the destination IP address
RW> as a parameter? I can only find calls that are hitched to snmpd's trap
RW> destination list.
Take a look at apps/snmptrap.c for an example of sending a trap directly
Is there an API call to send a trap that accepts the destination IP address
as a parameter? I can only find calls that are hitched to snmpd's trap
destination list.
Thanks,
Robert Waltz
---
This SF.Net email is sponsored by the new InstallShie