> From: Joan Landry [mailto:joan.lan...@overturenetworks.com] 
> Sent: Monday, May 25, 2009 4:56 AM

> I have a situation where it takes 2 minutes to reload some of 
> the tables
> and unfortunately when I call agent_check_and_process after 2 minutes
> the code in net-snmp stops my subagnet from running.

        How does the master agent shut your subagent down?  I know of no 
protocol operation for this.  Do you mean, perhaps, that your subagent is 
crashing because it expects the master to still be waiting after two minutes?

        SNMP operations are expected to be timely.  Te exact meaning of 
"timely" is debatable, but two minutes, i.e. four times the standard timeout 
period is not debatable - it is highly untimely.

        I would suggest you use three objects: trigger, state, and value.  The 
trigger can be set-only, and starts the operation.  The status has values for 
"uncalculated" (initial value only), "calculating", and "done".  The value is 
the result of the calculation or a default value.

> Is there a way to tell the master agent to pause?

        There shouldn't be.  Other folk want their info, too.


        HTH,

Mike

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
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