kidkoala <kidko...@o2.pl> writes:

> My problem is to find appropriate function which allows to handle my
> movements. I mean, how to replace agent_check_and_process() function
> with my functions, which will depend of OID.

You should read the tutorials on creating subagents on the wiki, which
talks about how to create a new module and make a subagent that uses
it.  You *don't* generally replace the above, you register your own
functions to be called when oid ranges are hit.

http://www.net-snmp.org/wiki/index.php/Tutorials#Coding_Tutorials

-- 
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to