Re: How to send a v1 trap (newbie)

Sebastian Bello <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I have used the code in snmptrap to send a trap, but

1- it doesn't use send_trap_vars nor send_easy_trap (just init_snmp, 
snmp_open, snmp_pdu_create, snmp_add_var and snmp_send); what's the 
difference between the two methods?
2- it looks like libnetsnmp.so.10.0.1 is the only file needed to send 
the traps, is this right?

Thanks,
    Sebastian-



Sebastian Bello escribió:
> Hi list,
>
> I want to send v1 traps from my C/C++ application using Net-SNMP. I've 
> been reading the documentation but am a bit confused. Maybe someone can 
> give me some hint:
> - where can I find a simple code example on how to send a trap?
> - do I need the full Net-SNMP installed?
> - do I need to create a MIB with the traps information?
>
> Thanks,
>     Sebastian-
>
>
> -------------------------------------------------------------------------
> 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 easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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
>
>   

-------------------------------------------------------------------------
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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.