On 24/08/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Is there a tutorial on how to manage Tables with net-snmp?
No - not that I know of.
> If I have multiple instances of the same server, and a manager console
> asking for statistics on a specific server:
> - How the master agent dispatches the request to the correct subagent?
Well an AgentX subagent will register for the area(s) of the OID tree
that it wishes to take responsibility for. So the master agent just
directs requests to the subagent that registered the relevant area.
All this is handled for you automatically. You've just got to ensure
that the subagent makes the appropriate registration in the first
place.
Given the layout you described, this would typically involve registering
getStatisticsTable.*.{genServerIndex}
(for a given value of genServerIndex).
AgentX is designed to support registering a "slice" of a table - i.e.
all the columns for a given index (or partial index). That's exactly
what you've got here.
> Unsuccessful test:
> I start the master agent => the file is created
> I start the subagent
> I stop the subagent
> I stop the master agent => the file is NOT deleted
>
> Do I have to do something specific in the code at the shutdown of the
> subagent?
No - that ought to work OK.
How do you stop the two agents? What's the command that you use?
Dave
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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