To be more detailed, if I have a generic MIB with the following tables:

- genServerTable with the index genServerIndex, and columns 'name', 
'ipAddress' and 'portNumber'
- genDBServerTable with the index genServerIndex and genDBServerIndex, and 
column 'dbName'
- genStateTable with the index genServerIndex and genStateIndex, and the 
column 'State'
- genStatisticsTable with the index genServerIndex and genStatisticsIndex : 
statistics here are specific to each server

Is there a generic way to create the genStatisticsTable with columns that 
can be added dynamically by a sub agent? Is is feasible?

Thanks for your help.

>From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: [email protected]
>Subject: Re: How can I extend a MIB with a subagentX
>Date: Wed, 23 Aug 2006 14:50:16 +0200
>
>Hi,
>
>Let's detail, for example, 3 different applications i want to monitor (in
>reality, I have almost 60)
>
>For the 3 applications, we have the following metrics(this is an overview):
>Application 1:
>- Number of SQL updates executed
>- Number of SQL updates per second
>- Number of failed operations
>- State
>
>Application 2:
>- Number of messages received
>- Number of messages processed
>- Number of messages processed by second
>- Number of pending messages
>- State
>
>Application 3:
>- Number of threads
>- Number of active threads
>- Number of operations processed by thread
>- State
>
>Each application can be launched on several databases and can be launched
>multiple times (for performance reasons) on each database.
>
>Let's imagine I have a MIB containing a list of servers (by using a
>SEQUENCE). My problems are:
>- How can I define specific caracteristics (different for each server) with
>a generic MIB?
>- If, in the manager console, I have four instances of the same server:
>      - Application1 on database DB1 (First instance)
>      - Application1 on database DB1 (Second instance on the same database
>for performance reason)
>      - Application1 on database DB2 (third instance)
>      - Application1 on database DB3 (Fourth instance)
>All these servers are subagent (AgentX).
>If the manager executes a get of 'State' for the first instance, how does
>the master agent ask the correct subagent about the metric?
>
>
> >From: "Dave Shield" <[EMAIL PROTECTED]>
> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
> >CC: [email protected]
> >Subject: Re: How can I extend a MIB with a subagentX
> >Date: Tue, 18 Jul 2006 20:28:06 +0100
> >
> >On 18/07/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> >>I want to know if I can avoid creating hundreds of MIBS to monitor
> >>specific
> >>applications with specific metrics.
> >
> >That sounds as if you need to define a fairly generic MIB structure,
> >that can handle the various specific metrics within a single fixed
> >framework.
> >
> >
> >>By dynamically adding, I mean:
> >>- dynamically create a metric in a MIB
> >
> >If the metric is defined as a table (or tables), then this equates to
> >adding one or more new row(s).  That's a perfectly reasonable
> >approach.  Creating completely new MIB objects on the fly is a much
> >less workable approach.
> >
> >
> >>- instrument it (by dynamically set a callback to retrieve the value of
> >>this
> >>metric) so that I can do an snmpget on this dynamic metric
> >
> >That's no problem - using either new rows in a fixed tables or
> >completely new MIB structure. Just register the row or subtree with
> >the master agent.
> >
> >But there are two sides to this sort of dynamic updating - it's not
> >simply a matter of  instrumenting the agent to report the new value.
> >You've also got to inform the management application (or network
> >manager) that there *is* a new value to retrieve, and what it means.
> >If you're working with new rows in a fairly generic table, then that
> >would be fairly easy - it's just a matter of walking the table as
> >usual.  But if you are defining completely new MIB objects on the fly,
> >how is the manager to know about them?
> >
> >
> >I would *strongly* recommend looking at a fairly flexible but fixed
> >MIB framework, with separate rows (or groups of rows) for each
> >application.   You might well end up with a relatively sparse table,
> >where only selected columns are valid for a given application - see
> >the DisMan expression MIb for one possible approach.
> >
> >I'm not sure whether that is necessarily the best approach - perhaps
> >you could give us something more concrete to work with.  Consider two
> >typical applications - what are they, and what are the metrics you'd
> >want to be able to report for them?  That might be an easier way to
> >start designing the sort of general structure it sounds that you'll
> >need.
> >
> >Dave
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today it's FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>-------------------------------------------------------------------------
>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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


-------------------------------------------------------------------------
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

Reply via email to