-----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á bom.
A nível do inglês é 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ão sei, vê se te soa melhor.
Fica bem,
Boa Páscoa.
P.S. Esperemos que respondam rápido 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ê-lá 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",
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çois Baltazar
-------------------------------------------------------------------------
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/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders