Re: asynchronous response from with a agentx subagent

This is a discussion on Re: asynchronous response from with a agentx subagent within the SNMP Coders forums, part of the Networking and Network Related category; On Tue, 26 Jul 2005 09:43:35 -0700 (PDT) Srinivas wrote: SA> I have a subagent which needs ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-27-2005
Robert Story
 
Posts: n/a
Default Re: asynchronous response from with a agentx subagent

On Tue, 26 Jul 2005 09:43:35 -0700 (PDT) Srinivas wrote:
SA> I have a subagent which needs to talk to an
SA> internal daemon using a asynchronous request/response
SA> mechanism.

I think you are going to have to make the communication synchronous.

SA> And also to make matters worse, I dont have a cache of
SA> object indexes in this subagent. This subagent queries
SA> internal daemons to get the assoicated objects. I am
SA> achieving this by implementing my own
SA> netsnmp_container. So whenever CONTAINER_* is invoked
SA> I want to make query to an external daemon to get the
SA> first object or the next one.

You should try using the cache, but setting the timeout to 0, which will cause
it to be reloaded for every request. Can you live with a cache that only
exists for the duration of the current 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-coders>

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0