This is a multi-part message in MIME format.

--===============1911943176==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C88AC8.FC34F5B4"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C88AC8.FC34F5B4
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable




-----Original Message-----
From: Angela Lazaro
Sent: Thu 3/20/2008 8:14 PM
To: Baltazar Francois
Subject: RE: GALILEO MGF -- MAIL PARA MAILING LIST
=20
Oi! Est=E1 bom.
A n=EDvel do ingl=EAs =E9 que se calhar fica melhor:
What we are trying to do is to have only one handler...

em vez de:
What we are trying to do is only to have an only one handler

N=E3o sei, v=EA se te soa melhor.
Fica bem,=20
Boa P=E1scoa.

P.S. Esperemos que respondam r=E1pido e bem!!!

-----Original Message-----
From: Baltazar Francois
Sent: Thu 3/20/2008 6:37 PM
To: Angela Lazaro
Subject: GALILEO MGF -- MAIL PARA MAILING LIST
=20
V=EA-l=E1 se concordas com isso ou se tens mais para acrescentar...
Obrigado,
Boa pascoa

Hi all,
We have generate the C code from the mib file OAM-GLOBAL-REG-V1.txt =
(attached) with the command
=20
mib2c -c mib2c.create-dataset.conf oam
=20
Then we have created the handler to respond to the mib values.
=20
When we have test the code , the agent seem to respond only to GET NEXT =
request. The OID that results from these requests is something like: =
column_oid.6.115.110.109.112.118.51.
As you can see in the .c attached file there is a call to=20

netsnmp_table_row_add_index(row, ASN_OCTET_STR, "snmpv3",
strlen("snmpv3"));

We have tried to change this call to replace by an integer value (the =
value of the index column), code has compiled but crash at this point =
giving "segmentation fault".

What we are trying to do is to have only one handler for all the values =
of the table, which respond to GET and GETNEXT requests for the values =
which look like column_oid.1, column_oid.2, column_oid.n....

Can you help us with that ?
Note : We are using net-snmp version 5.1.1 on Red Hat EL4

King regards,
Fran=E7ois Baltazar




------_=_NextPart_001_01C88AC8.FC34F5B4
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable




charset=3Diso-8859-1">
6.5.7638.1">
Help with snmp table










-----Original Message-----

From: Angela Lazaro

Sent: Thu 3/20/2008 8:14 PM

To: Baltazar Francois

Subject: RE: GALILEO MGF -- MAIL PARA MAILING LIST



Oi! Est=E1 bom.

A n=EDvel do ingl=EAs =E9 que se calhar fica melhor:

What we are trying to do is to have only one handler...



em vez de:

What we are trying to do is only to have an only one handler



N=E3o sei, v=EA se te soa melhor.

Fica bem,

Boa P=E1scoa.



P.S.  Esperemos que respondam r=E1pido e bem!!!



-----Original Message-----

From: Baltazar Francois

Sent: Thu 3/20/2008 6:37 PM

To: Angela Lazaro

Subject: GALILEO MGF -- MAIL PARA MAILING LIST



V=EA-l=E1 se concordas com isso ou se tens mais para acrescentar...

Obrigado,

Boa pascoa



Hi all,

We have generate the C code from the mib file OAM-GLOBAL-REG-V1.txt =
(attached) with the command



mib2c -c mib2c.create-dataset.conf oam



Then we have created the handler to respond to the mib values.



When we have test the code , the agent seem to respond only to GET NEXT =
request. The OID that results from these requests is something like: =
column_oid.6.115.110.109.112.118.51.

As you can see in the .c attached file there is a call to



 netsnmp_table_row_add_index(row, ASN_OCTET_STR, =
"snmpv3",

            &=
nbsp;           &n=
bsp;       =
strlen("snmpv3"));



We have tried to change this call to replace by an integer value (the =
value of the index column), code has compiled but crash at this point =
giving "segmentation fault".



What we are trying to do is to have only one handler for all the values =
of the table, which respond to GET and GETNEXT requests for the values =
which look like column_oid.1, column_oid.2, column_oid.n....



Can you help us with that ?

Note : We are using net-snmp version 5.1.1 on Red Hat EL4



King regards,

Fran=E7ois Baltazar












------_=_NextPart_001_01C88AC8.FC34F5B4--


--===============1911943176==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1911943176==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============1911943176==--