how send_v2_trap got called ?

Piyush Goyal <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I have written my own mib file for notification and generated c skeleton
code using mib2c .

and i make the subagent using "*net-snmp-config*" command
Now my question is how would I generate trap so that my code in which
*send_v2trap
*is implemented, got called ?, so that i am able to see output on
"snmptrapd"
 regds,
Piyush Goyal
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.