I installed net-snmp suite on a Linux box. It works great, both for 
manager (snmpget/snmpset) and for agent (snmpd).

Now I want to create a small program that sends autonomously 
(outside the agent process) a SMI-v2 notification. Can I use the 
send_v2trap() function call? From snmp_trap_api(3) I read: 
"These three routines may be used to send traps from a MIB module 
within the Net-SNMP agent (including an AgentX subagent)."

So what should I code a "stand-alone" trap generator, such as the 
snmptrap command line? Is Net-SNMP able to send traps/informs even 
if no agent is running?

  Giuseppe


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to