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:
> >
On 04/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> netsnmp_register_table_data_set(netsnmp_create_handler_registration
> ("genServerTable",
> NULL,
> genServerTableOid,
>
OK, Thanks a lot for the answer.
I agree with you concerning the call to register_int_index, and I just
modify the code this morning ;o)
My initialization code now looks like this:
void init_GenServerTable()
{
netsnmp_table_data_set *genServerTable =
netsnmp_create_table_data_set("genServe
On 01/09/06, MegaReg <[EMAIL PROTECTED]> wrote:
> Net-snmp program opens logical TCP join before sending request itself ?
> On my observations, the program sends the requests without
> preliminary opening logical TCP join.
What exactly do you mean by "opening logical TCP join" ?
Dave
On 03/09/06, holyful <[EMAIL PROTECTED]> wrote:
> I about to use net-snmp c api to make a NMS , now there is a problem, i
> just can get simple value from certain variable , then how can i get a
> whole table such ai "ifTable" in one session ??
The basic way to retrieve a table is via a sequence o
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
Hi,
The function I was looking for, seems to be register_int_index. (it asks the
master agent to give the next id)
A counter is impossible to use as my table is managed by several binaries.
I'm now facing the problem of feasibility to implement this.
When I see the standard (RFC 2741 - Agent E
On 01/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote:
> Concerning the management of the index in a table, I would like to know if
> there was an automatic way of incrementing them if the index is numeric
Yes.
Have an internal variable within your code that keeps track of the
last index used,
and
On 01/09/06, Srivastava, Namburi (IE10)
<[EMAIL PROTECTED]> wrote:
> What can be the reason for these kind of errors, which are generally not
> captured by snmptranslate?
Typically, it's because there are errors in the MIB syntax.
The purpose of smilint, and the web validation tool is to check the
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
--
On 01/09/06, Nikanth K <[EMAIL PROTECTED]> wrote:
> How does the Master agent react to repeat requests ?
It processes them.
> Does it identify it.
No
> If it does, does it ignore the responses for the earlier requests.
No.
> Does it ignore the later requests/responses etc.
No.
Dave
---
On 01/09/06, Nikanth K <[EMAIL PROTECTED]> wrote:
> when a client timeouts and resends the request - will it get duplicate
> responses or will it get only one response?
That depends on why it never received a response to the first request.
If the first response was lost by the network, then it wil
Net-snmp program opens logical TCP join before sending request itself ?
On my observations, the program sends the requests without
preliminary opening logical TCP join.
-
Using Tomcat but need to do more? Need to suppor
hello
I about to use net-snmp c api to make a NMS , now there is a problem, i
just can get simple value from certain variable , then how can i get a
whole table such ai "ifTable" in one session ??
thank you
-
Using Tomc
Thx. Maybe i can define an attribute identifying the error msg. When
meet some errors,
I turn to send the err msg instread of the right value.
And the error msg is defined just like net-snmp(index--errstring).
I'm not sure whether this way will work, need further test.
Dave Shield wrote:
> On
15 matches
Mail list logo