On 04/12/2007, Bojan Andonoski <[EMAIL PROTECTED]> wrote:
> Can anyone send me the source code how to send SNMP Trap from an SNMP
> Agent to the Manager(Client).
With the Net-SNMP agent, then this is simply
send_easy_trap( N, N );
or
send_v2_trap( vblist );
That will send the trap to the list of managers specfied in the
snmpd.conf file (using "trapsink" etc).
See snmp_mib_api(3) for details.
Dave
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users