Thanks Robert.
So is there any way I can validate the user input? That is, if user
tries to set an OID which is not valid (Not in specific view /not able
to retrieve info / type is not as we expect etc), then it should return
BAD_VALUE.

Regards,
Geo



-----Original Message-----
From: Robert Story [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 16, 2005 12:28 PM
To: George, Geo
Cc: Dave Shield; net-snmp-users@lists.sourceforge.net
Subject: Re: snmp_synch_response

On Thu, 16 Jun 2005 08:17:42 -0700 George, wrote:
GG> So I opened another snmp_session, reading community strings from
conf
GG> file and issued a SNMP_GET. Its fetching the values ( in alarm
GG> functions).
GG> 
GG> Now the problem is calling the same routine during a SET operation
(of
GG> an OID).

This will not work. Your get request will block while waiting for the
set
request to finish. And the agent will not process other requests during
processing of 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.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&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