On Mon, 21 Mar 2005 20:32:30 +0530 chinmay wrote:
CB> I have 2 mib variables say A and B.
CB> If a set comes on A and the A's handler is called by snmpd...Can i set the 
CB> value of B from that A's handler?

If B is implemented in the same agent, then simply provide a regular C api to
change the value, and use that API when A is set.

CB> Is there any API's present for that?
CB> 
CB> Or do i have to call systam("snmpset on B") from the handler.(Its a very
CB> bad way).

That won't work either, as the agent blocks other incoming requests while
processing a set request.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

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