On 17 April 2011 03:02, Leo Lin <[email protected]> wrote:
> I would like to send an interprocess communicatio message whenever
> an snmpset command is received by the snmpd.

Regardless of the OID that is being set?
Why?  What are you trying to do here?


>  I checked the snmpd source code, and seems that my custom code
> should be place in the receive() function,

No - that's too early in the processing.
It wouldn't be able to distinguish between SET and GET* requests.


Maybe if you explained a bit about what you are trying to achieve,
then we could advise you how best to proceed.

Dave

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
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

Reply via email to