On 2 March 2010 17:59, Joe Marcelletti <[email protected]> wrote:
> We are currently trying to run multiple copies of snmpd on a single
> box. mostly everything works fine....

> for example, IP 1 always returns "1" for the oid query, and IP 2
> always returns "2" (for our testing we did this).
>
> if I query IP 1 for the oid like 10 times, then query IP 2 from
> another box same oid, i'll get "1" back for a little. It appears to be
> a cache but im not sure why server 2 is using server 1's cache.

Which version of the agent are you using?

The older releases use a file (held in the persistent directory)
to cache the output of "exec" commands.   If you are using the
same persistent directory for both agents, it's possible that they
could end up using the same cache file.

I'm not sure whether newer releases work the same way.
I know we re-worked the "exec" handling to use internal caching,
but I've a nagging feeling that that the "pass" processing may
not have been touched.

But it's definitely worth trying this with the latest version of the agent.

You should also look at the project Wiki page on this topic
  (http://www.net-snmp.org/wiki/index.php?title=Multiple_Agents)
Using different persistent directories might also solve this
problem, and is A Good Idea anyway.

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to