On Fri, 28 Jan 2005 13:34:36 -0800 (PST) Ming wrote:
MY> Is there a way to group a set of scalars so that the handler gets called
MY> once for the group for incoming get/set request? I look at the scalar_group
MY> helper, but it seems to only simply the handler registration s.t. I don't
MY> have to call 10 scalar registration for 10 scalars.

I don't quite understand what you are trying to do or why the scalar_group
handler doesn't do what you want it to.

The scalar_group handler does require the scalars to have a common parent, and
be sequentially numbered (it wouldn't be to hard to eliminate that requirement
in the scalar_group handler - patches welcomed). But if the nodes you want to
have a common handler called don't have a common parent, there isn't a helper
you can use. I don't even think it's possible with the current agent
architecture, which has handler registrations by OID.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to