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

2006-09-04 Thread Dave Shield
On 01/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > Is it normal that the case ASN_UINTEGER is not managed > in the switch of the function snmp_varlist_add_variable? Yes. >From #define ASN_UINTEGER (ASN_APPLICATION|7) /* historic - don't use */ Note the comment. Dave --

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

2006-09-01 Thread Arnaud BODENAN
d. >From: "Arnaud BODENAN" <[EMAIL PROTECTED]> >To: net-snmp-users@lists.sourceforge.net >Subject: Re: FW: Re: How can I extend a MIB with a subagentX >Date: Fri, 01 Sep 2006 09:57:52 +0200 > >Hi, > >I check again the file examples/data_set.c, and I found no dif

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

2006-09-01 Thread Arnaud BODENAN
p. I've got no idea how to solve it. Arnaud >From: "Arnaud BODENAN" <[EMAIL PROTECTED]> >To: net-snmp-users@lists.sourceforge.net >Subject: Re: FW: Re: How can I extend a MIB with a subagentX >Date: Thu, 31 Aug 2006 21:27:42 +0200 > >OK, but this means tha

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

2006-08-31 Thread Arnaud BODENAN
work? indeed, I check the code of data_set.c and I've seen nothing wrong in my code explaining my error message. >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: FW

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

2006-08-31 Thread Dave Shield
On 31/08/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > If index is managed by net-snmp, why do I have to use > netsnmp_table_row_add_index with the value ind manually managed > in my sample? The Net-SNMP agent will manage table indexes inasmuch as it will extract the index from an incoming reque

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

2006-08-31 Thread Arnaud BODENAN
quot;Test3")); netsnmp_table_dataset_add_row(genServerTable, row); } If index is managed by net-snmp, why do I have to use netsnmp_table_row_add_index with the value ind manually managed in my sample? >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN&

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

2006-08-31 Thread Dave Shield
On 31/08/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > I've added in my registration of my table the creation of the rows: > int initGenServerTable > { [omitted] > // Add a Row > netsnmp_table_row *row = netsnmp_create_table_data_row(); [snip] > netsnmp_table_dataset_add_row(genServerTa

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

2006-08-31 Thread Arnaud BODENAN
ment of the index of a table was managed by the net-snmp API. Must I manage it myself? Thanks for your help. >From: "Arnaud BODENAN" <[EMAIL PROTECTED]> >To: net-snmp-users@lists.sourceforge.net >Subject: Re: FW: Re: How can I extend a MIB with a subagentX >Date: Thu

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

2006-08-31 Thread Arnaud BODENAN
ster my table? Is there a 'easier' way to register a table? I do not register a function to get the value of an entry in my table. Thanks. >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists

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

2006-08-24 Thread Arnaud BODENAN
ICATION_ID, NETSNMP_DS_AGENT_X_SOCKET, "/home/arnboden/snmp/test/masterFile"); >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: FW: Re: How can I extend a MIB

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

2006-08-24 Thread Dave Shield
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 t

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

2006-08-24 Thread Arnaud BODENAN
he file is NOT deleted Do I have to do something specific in the code at the shutdown of the subagent? >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: FW: Re: How

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

2006-08-23 Thread Dave Shield
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?

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

2006-08-23 Thread Arnaud BODENAN
at can be added dynamically by a sub agent? Is is feasible? Thanks for your help. >From: "Arnaud BODENAN" <[EMAIL PROTECTED]> >To: net-snmp-users@lists.sourceforge.net >Subject: Re: How can I extend a MIB with a subagentX >Date: Wed, 23 Aug 2006 14:50:16 +0200 >

Re: How can I extend a MIB with a subagentX

2006-08-23 Thread Arnaud BODENAN
: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >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 ca

Re: How can I extend a MIB with a subagentX

2006-07-18 Thread Dave Shield
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 sing

Re: How can I extend a MIB with a subagentX

2006-07-18 Thread Arnaud BODENAN
on this dynamic metric Thanks. >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: How can I extend a MIB with a subagentX >Date: Tue, 18 Jul 2006 17:00:06 +0100 &

Re: How can I extend a MIB with a subagentX

2006-07-18 Thread Dave Shield
On 18/07/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > But is it possible in a Sub Agent X to add dynamically a metric, instrument > it, and expose it to a monitoring client? Before I try to answer that question, I think I'd like a little more detail about exactly what you mean by "dynamically a

Re: How can I extend a MIB with a subagentX

2006-07-18 Thread Arnaud BODENAN
rom: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: How can I extend a MIB with a subagentX >Date: Tue, 18 Jul 2006 16:16:21 +0100 > >On 18/07/06, Arnaud BODENAN <[E

Re: How can I extend a MIB with a subagentX

2006-07-18 Thread Dave Shield
On 18/07/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > Can I instrument specific metrics in each application (which are Sub > Agent X), metrics which do not exist in the MIB ? If you are going to report management values from an agent (or subagent), then you really do need to have a MIB to d

How can I extend a MIB with a subagentX

2006-07-18 Thread Arnaud BODENAN
Hi, I want to use SNMP to monitor our C++ applications deployed under Sun Solaris 5.8, IBM AIX 5.2, Windows (2000, XP) and Linux (RedHat). I use net-snmp 5.0.11. With the help of tutorials and FAQS (, I have tested master agentX/sub agentX on a specific port (I made the test on Solaris 5.8,