Dave> OK - first question:  what sort of objects is this handler dealing with?

Greg> My handler is dealing with a whole subtree.
Greg> Is there a helper to register for a complete subtree?

Fair enough - then 'netsnmp_register_handler' is the correct call.
The other helpers are really aimed at more specific targets.
If you're working with a full subtree, then you'll have to handle
things for yourself.



Try with snmp_set_var_typed_value() and see how you go.

If you still have problems, it might be worth configuring the module
into the main SNMP agent, and developing things that way - perhaps
with dummy values.
  You can then move it back out into the AgentX subagent once you've
got the basic handler working.


Dave



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to