--===============1006642354==
Content-Type: multipart/alternative;
boundary="=_986f1c18da520f2ef15e03decaa3b00e"

--=_986f1c18da520f2ef15e03decaa3b00e
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

Hi Dave, Thanks for the reply. Well we could able to find the reason for the problem. Before let me explain the actual scenario in which we are using agent-subagent approach in which the subagent inturn forwards the request to next module in our project which has the complete idea about MIB tree(getting the oid from the request and converting oid to our module understandable format and then prossesing according to the request whether to read or write and converting back to the oid and sendig the response to the subagent which inturn forwards it to master.) The  problem was in case of tables we were not creating the instanses of the object in the subagent. So the master will not come to know that perticular instance is there or not. So when ever I issue snmpgetnext command it was searching for the immediate next instance. Since no instances were known by the master it was looking for the object till the end of the table. In our case the end of the table was istance 1
0000000. So master would look till 10000000 and send instance no:10000001 to subagent. So later we created the table instances using mytable_createEntry. So now I could create instances and able to send getnext command which is working fine for some table.     But is this appooach is correct to create instances in the table. On Mon, 29 Oct 2007 12:19:28 +0000 \"Dave Shield\" wrote On 26/10/2007, NetSnmp User wrote: > the master is sending the snmpget request to subagent with the oid > of the next object along with some dump appending at the end of the oid. Like: > {1,3, 6, 1, 4, 1, 1700, 2, 100, 36, 1, 1, 10000001, 1 } How are you registering the table? What does the initialisation code look like, and what is the OID of the table? Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log eve
nts and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users


Regards,
Girish
--=_986f1c18da520f2ef15e03decaa3b00e
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Dave,
 Thanks for the reply. Well we could able to find the re=
ason for the problem. Before let me explain the actual scenario in which we=
are using agent-subagent approach in which the subagent inturn forwards th=
e request to next module in our project which has the complete idea about M=
IB tree(getting the oid from the request and converting oid to our module u=
nderstandable format and then prossesing according to the request whether t=
o read or write and converting back to the oid and sendig the response to t=
he subagent which inturn forwards it to master.) The  problem was in c=
ase of tables we were not creating the instanses of the object in the subag=
ent. So the master will not come to know that perticular instance is there =
or not. So when ever I issue snmpgetnext command it was searching for the i=
mmediate next instance. Since no instances were known by the master it was =
looking for the object till the end of the table. In our case the end of th=
e table was istance 10000000. So master would look till 10000000 and send i=
nstance no:10000001 to subagent. So later we created the table instances us=
ing mytable_createEntry. So now I could create instances and able to send g=
etnext command which is working fine for some table.

 &nbs=
p;  But is this appooach is correct to create instances in the table. =


On Mon, 29 Oct 2007 12:19:28 +0000 "Dave Shield" wrote
r /> On 26/10/2007, NetSnmp User wrote:

> the master is=
sending the snmpget request to subagent with the oid

> of =
the next object along with some dump appending at the end of the oid. Like=
:

> {1,3, 6, 1, 4, 1, 1700, 2, 100, 36, 1, 1, 10000001, 1 }=




How are you registering the table?

=
What does the initialisation code look like, and what is the OID of the ta=
ble?



Dave



-----------=
--------------------------------------------------------------

=
This SF.net email is sponsored by: Splunk Inc.

Still grepping=
through log files to find problems? Stop.

Now Search log eve=
nts and configuration files using AJAX and a browser.

Download=
your FREE copy of Splunk now >> http://get.splunk.com/

=
_______________________________________________

Net-snmp-users=
mailing list

Net-snmp-users@lists.sourceforge.net

=
Please see the following page to unsubscribe or change other options:
/>
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
=

=20


Regards,

Girish

--=_986f1c18da520f2ef15e03decaa3b00e--


--===============1006642354==
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: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--===============1006642354==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============1006642354==--