>>>>> On Mon, 10 Jan 2011 23:35:45 +0530, "MAS ." <[email protected]> said:

M> I have snmp daemon running on my special hardware. I want to generate trap
M> after checking particular register. so how and where to add my code (in c).
M> how to monitor some register continuously? In case of snmpget and snmpset I
M> used mib2c to generate c code from mib and added my specific code to c file,
M> is there similar way to work with snmptrap?

You can use the exact same type of code as what's in the apps/snmptrap.c
file to generate traps.  I suggest you use that file as an example.
-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to