Hi all,
I want to try how to send a trap.
So I download the example code "notification.c" from
http://www.net-snmp.org/dev/agent/notification_8c-example.html.
I have following questions:
question 1:
I add this sample code into my existed module and built it as a dynamic module
(.so file). Does this code also work fine in a dynamic module? I just know it
can work fine when it's compiled into an agent.
question 2:
How can I set the receivers' ip and community in snmpd.conf? Where can I find
such an .conf example?
question 3:
In this example, it just send V2 trap via send_v2trap. How can I send
traps(notifications) of other versions. different API?
Thanks,
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders