Re: How can I extend a MIB with a subagentX

"Arnaud BODENAN" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.