Re: FW: Re: How can I extend a MIB with a subagentX

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 23/08/06, Arnaud BODENAN <[email protected]> wrote:
> - 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?

Well, that does sound like a generic statistics table.
You can't change the number of *columns* dynamically, but you can
certainly add new rows (corresponding to new statistics).

So you'd probably have three columns in this table (plus the external
genServerIndex):

  *  genStatisticsIndex - to distinguish between multiple statistics
relating to the same server
  *  genStatisticsDescr - a textual description of what this statistic reports
  *  genStatisticsValue - the value for this statistics

So you might have a table such as:

1   1    "# Silly Questions received"    23
1   2    "# Sarcastic Answers"    22
1   3    "# Clearly phrased Questions"   3
2   2    "# Silly Questions received"   17
2   3    "# Patient Answers"    18


Note that a given "genStatisticsIndex" value can refer to two
different statistic for two different servers.

OK?

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