Proxy "registration"

Corrado Giacomini c.giacomini____acresearch.com
Tue Dec 5 10:28:23 CET 2000


First of all I apologize if this is a request for help ... again.. :-)
but I can't find any valid solution to my problem so I query all of you
for an help..
I have an agent++ running (not SNMPv3..) I want it to proxy all request
of
mib2 objects (except those in the system group) to a ucdsnmpd running
on a different box then the one on which my agent++ is running.
My agent++  implements the mib2 system group.
So my code more or less looks like this:

mib.add(new sysGroup());
mib.add(new MibProxy("1.3.6.1.2.1.2", READONLY, src));
mib.add(new MibProxy("1.3.6.1.2.1.3", READONLY, src));
mib.add(new MibProxy("1.3.6.1.2.1.4", READONLY, src));
mib.add(new MibProxy("1.3.6.1.2.1.5", READONLY, src));
mib.add(new MibProxy("1.3.6.1.2.1.6", READONLY, src));
mib.add(new MibProxy("1.3.6.1.2.1.7", READ-ONLY, src));
mib.add(new MibProxy("1.3.6.1.2.1.8", READ-ONLY, src));
....
This way of registering a proxy has a drawback
in the fact that if a NOC is walking the mib while the
ucdsnmp (src) is down then the agent got stuck for a long time
since is retrying five time for each registered entry  and between
each retry there is a timeout period..

I also tried this in order to register ucdsnmp only once:
mib.add(new MibProxy("1.3.6.1.2.1", READONLY, src)); // all mib2 tree
mib.add(new sysGroup()); // Hoping it overwrites the system group..
But of course it doesn't work.
Basically I want to avoid agent++ the retry to contact the ucdsnmpd for
each
added entry once it got a timeout on the first one.
is it feasible ?

-Corrado












More information about the AGENTPP mailing list