On 11/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Will you be interested about my sample and my MIB?
Not at the moment.
We've got solid conferences all this week, and then into the chaos of
the start of the new academic year. I *might* be able to get a
preliminary table_row helper into the
Hi Dave,
OK for me.
Will you be interested about my sample and my MIB?
I can send it to you directly if you want.
Arnaud.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>S
On 09/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> I don't really understand what you want me to do...
Be patient :-) [See below]
> About the modification of the code, as I previously say, I want to modify
> the registration of the table, so that the rootoid_len is set to the correct
> v
e their knowledge). My purpose is to
contribute to this project and not keep my modifications for me.
Tell me what you think about this.
Arnaud.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.so
On 08/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> nothing exists in the library net-snmp to
> manage get/get_next requests for tables registered with range_subid
> and range_ubound
There is no existing helper to assist with implementing a single row
of a
as experienced as you on net-snmp.
Arnaud.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Fri, 8 Sep 200
On 08/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Indeed, this handler is written to handle tables registered from the rootOid
> corresponding to the Oid of the Table.
Yes.
>The problem is that with
> registration
> of a region of MIB, t
hat do you think?
Arnaud.
>From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Wed, 06 Sep 2006 17:35:52 +0200
>
>OK dave and thanks a lot for all the tim
And do I have to add the parameter com2sec for snmpd and for each subagent?
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same
On 08/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Unfortunately, the context approach seems to be relevant only for the
> version 3 of snmp, and not for version 2c. Am I right?
No.
See 'snmpd.conf(5)' - and the description of "com2sec".
This allows you to set up a mapping from a community n
>
>To: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Fri, 08 Sep 2006 11:28:36 +0200
>
>I check again with the following command:
>
>snmpwalk -n TestContext1 | grep GEN-MONITORING-MIB
>and the only occurence that I see is the fol
er a table or a scalar?
Thanks for your help.
>From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Fri, 08 Sep 2006 10:38:31 +0200
>
>I find the option -n,
uot; <[EMAIL PROTECTED]>
>To: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Fri, 08 Sep 2006 10:26:19 +0200
>
>I check with a walk on NET-SNMP-MIB-AGENT and it seems to be ok (despite
>the
>error message, w
IL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Fri, 8 Sep 2006 09:13:06 +0100
>
>On 08/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> > // Set a specific ContextName
> > char buf[1
On 08/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> // Set a specific ContextName
> char buf[1024];
> sprintf(buf, "TestContext%d", allocatedIndex);
> handlerServerTable->contextName = buf;
handlerServerTable->contextName = strdup(buf);
> To use a ContextName, must I add something:
> -
uot;Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Thu, 7 Sep 2006 19:47:25 +0100
>
>On 07/09/06, Arnaud BODENAN &
On 07/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Would it be possible to use contextName of the registrationHandler
> (different contextName per application) instead of the
> range_subid/range_ubound?
Yes.
Dave
-
Usi
works
>fine.
>
>If somebody has a brilliant idea about this problem, he's welcome!
>
>Arnaud.
>
> >From: "Dave Shield" <[EMAIL PROTECTED]>
> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
> >CC: net-snmp-users@lists.sourceforge.net
&g
rnaud.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Wed, 6 Sep 2006 16:00:51 +0100
>
>On 06/09/06, Arnaud B
On 06/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> I follow your advice and do a walk on nsModuletable. So, With net-snmp
> v5.3.1, I launch twice the same application, and I get the following result
> with an snmpwalk on nsModuleTable:
[snip]
I haven't the time to follow your travails
ling callbacks for maj=1 min=1 (1 called)
>trace: callback.c, 150:
>9:callback:lock: unlocked (APP,null)
>Index found=1.
>App1 is up and running.
>
>If I relaunch my application App1, I get the index 2 and in the trace it is
>registered with the right index (not
easing: GEN-MONITORING-MIB::genServerIndex.1.5.1
>= GEN-MONITORING-MIB::genServerIndex.1.2.1
which is totally in contradiction with the debug informations.
At the moment, I don't know if the problem comes from the creation of the
row/registration the row with the master agent.
I'm st
t-snmp v5.3.1 (registering pdu
failed: 263!)
>From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Wed, 06 Sep 2006 11:33:32 +0200
>
>I have activated debug traces in my
;From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Wed, 06 Sep 2006 09:57:07 +0200
>
>Hi everybody,
>
>I finally resolve my problem of error message...
>
>I r
register a region of my MIB (previous code), I receive an
error from the function netsnmp_register_table_data_set:
registering pdu failed: 263!
>From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents mana
Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Tue, 5 Sep 2006 21:59:20 +0100
>
>On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> > To see if I reproduce
Arnaud BODENAN wrote:
> - I get a long list of error messages 'registering pdu failed: 263!'
At least three of them should be related to the (implicit) registration of the
three root oids (.1, .2, .3) which the master agent already has registered for
itself. Ignore those. Here's a log snippet from
On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> To see if I reproduce the same problem with the latest version of
> net-snmp, I try my sample with net-snmp v5.3.1 (instead of v.5.0.11).
Very sensible.
> The problems I'm facing now are:
> - the index retrieved with register_int_index is a
top_server);
snmp_log(LOG_INFO,"App1 is up and running.\n");
sendSpecificTrap();
while(keep_running)
{
agent_check_and_process(1);
}
snmp_shutdown("App1");
SOCK_CLEANUP;
return 0;
}
Any suggestions?
Thanks in
t;To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Tue, 5 Sep 2006 13:32:03 +0100
>
>On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
>>What is nsRegistryTable? I loo
On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> What is nsRegistryTable? I look in the source code of net-snmp and I do not
> find any occurence of nsRegistryTable.
My apologies. It's actually the 'nsMibRegistry' group
(containing the 'nsModuleTable').
It lists all the MIB object that h
What is nsRegistryTable? I look in the source code of net-snmp and I do not
find any occurence of nsRegistryTable.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subjec
On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> When I do an snmpwalk on my table (snmpwalk
> GEN-MONITORING-MIB::genServerTable), I get
> GEN-MONITORING-MIB::genServerName.1.2.2, which is not what I'm expecting.
Well, I did say you're embarking on uncharted territory.
It won't be too sur
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Tue, 5 Sep 2006 12:25:21 +0100
>
>On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
>>Sorry Dave, but I
On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Sorry Dave, but I give you my MIB in previous mails;
Err... no. Not that I can see.
I'd checked back through this thread to make sure, before my previous reply.
> My table is defined something like that:
> genRoot (9)
> genTestRo
>range_ubound = 5;
}
From: "Dave Shield" <[EMAIL PROTECTED]>
To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
CC: net-snmp-users@lists.sourceforge.net
Subject: Re: multiple Sub-agents managing the same table
Date: Tue, 5 Sep 2006 10:07:14 +0100
On 05/09/06, Arnaud BODENA
;
To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
CC: net-snmp-users@lists.sourceforge.net
Subject: Re: multiple Sub-agents managing the same table
Date: Tue, 5 Sep 2006 10:07:14 +0100
On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
Thanks Dave. What I've done now is:
I'm sor
On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Thanks Dave. What I've done now is:
I'm sorry - this code is meaningless to me.
You're listing assorted numeric OIDs, but I have no idea what MIB
objects they refer to.
I'm pretty sure that they aren't correct, since:
> // Declare the top
AIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Tue, 5 Sep 2006 09:20:12 +0100
>
>On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> > So, it seems that I have to use the attributes range
On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> So, it seems that I have to use the attributes range_subid and range_ubound
> of the netsnmp_handler_registration structure when I register a region of my
> table to the master agent.
Yes.
>I thought that withe range Oi
-MIB::genServerTable.2.1.3.1
I never get an error from the function netsnmp_register_table_data_set.
If somebody already tries to use this mechanism, it would be nice to have
explanations.
Thanks in advance for the help you provided to me.
Arnaud.
>From: "Dave Shield" <[EMAIL
Thanks.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: multiple Sub-agents managing the same table
>Date: Mon, 4 Sep 2006 13:56:07 +0100
>
>
On 04/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> netsnmp_register_table_data_set(netsnmp_create_handler_registration
> ("genServerTable",
> NULL,
> genServerTableOid,
>
EN-MONITORING-MIB::genServerPID.2 = Gauge32: 1500
I check netsnmp_table_dataset_add_row, but it returns no value (void).
Moreover, when I execute the second binary, I have no error message so it
seems to work ok.
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "Arn
On 02/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> I have tested the function register_int_index to generate an unique index
> and added it in the registration of my table genServerTable.
> I log the index returned by
> the function register_int_index (I have to increment i
my
approach (share the same table by several applications) is possible or not.
>From: "Arnaud BODENAN" <[EMAIL PROTECTED]>
>To: net-snmp-users@lists.sourceforge.net
>Subject: multiple Sub-agents managing the same table
>Date: Fri, 01 Sep 2006 17:15:45 +0200
>
>Hi
Hi,
I have a generic MIB composed with:
- table of Servers
- table of metrics exposed by a server (generic table: thanks Dave;o) )
I want that all my applications share this MIB and register in the same MIB.
Question 1: Is it feasible?
Question 2: When my application starts, it initializes the
47 matches
Mail list logo