--===============0432764772==
Content-Type: multipart/alternative; boundary="0-112349612-1179517088=:59298"
Content-Transfer-Encoding: 8bit

--0-112349612-1179517088=:59298
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Yes, of course .....

Trying to learn NetSnmp, I was reading through the following tutorial:

http://www.net-snmp.org/tutorial/tut...mib/index.html

This tutorial relates to the ifTable MIB and explains how to update the code accordingly with the goal of being able to perform an "snmpwalk" request at the end to verify all rows contain the data which has been inserted. There are about 5 or 6 sections to this tutorial, At the end of each section is a link to the next section. The last section, entitled "MFD: ifTable testing" explains how to do the following:

1) make the code
2) start the specialized agent for testing purposes
3) issue a snmpwalk command to verify populated table values.

Anyway, I took this exact approach when writing my own code for my own "ocStbHostAVInterfaceTable" MIB table for the sole reason of trying to see if I could populate the table and perform a "snmpwalk" request.

I have been reading nonstop for about 2 weeks about anything relating to NetSnmp. It is very hard to understand at first, but I believe I can now talk about NetSnmp enough to ask more specific questions when needed.

I would love to perform a "snmpwalk", but can not since the snmpwalk command I entered always times out.

Here are the commands I am entering as it relates to three tutorial steps stated above:

1) make -f ocStbHostAVInterfaceTable_Makefile

2) ./ocStbHostAVInterfaceTable -f -L -DocStbHostAVInterfaceTable -M localhost:1161

3) snmpwalk -v1 -c public localhost:1161 ocStbHostAVInterfaceTable

Note: Without the "-c public" option the snmpwalk command was not allowed to be entered. It resulted in the general "usage" error being displayed. Adding the "-c public" option results in the command being accepted, it just times out now, with the following error:

Timeout: No Response from localhost:1161

Thanks for you time in helping me out.



Dave Shield wrote: On 18/05/07, Need Help wrote:
> I have no idea what the -M option does .... I was just following the
> tutorial.


You keep talking about "the tutorial".
It might be useful if you could be a bit more explicit about exactly
which tutorial you are following. There are several different approaches
documented in the project web pages - which specific page are you
working with?

Dave



---------------------------------
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
--0-112349612-1179517088=:59298
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Yes, of course .....

Trying to learn NetSnmp, I was reading through the following tutorial:

http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/if-mib/index.html

This tutorial relates to the ifTable MIB and explains how to update the code accordingly with the goal of being able to perform an "snmpwalk" request at the end to verify all rows contain the data which has been inserted.  There are about 5 or 6 sections to this tutorial,  At the end of each section is a link to the next section.   The last section, entitled "MFD: ifTable testing" explains how to do the following:

1) make the code
2) start the specialized agent for testing purposes
3) issue a snmpwalk command to verify populated table values.

Anyway, I took this exact approach when writing my own code for my own "ocStbHostAVInterfaceTable" MIB table for the sole reason of trying to see if I could populate the table and perform a "snmpwalk"
request.

I have been reading nonstop for about 2 weeks about anything relating to NetSnmp.  It is very hard to understand at first, but I believe I can now talk about NetSnmp enough to ask more specific questions when needed. 

I would love to perform a "snmpwalk", but can not since the snmpwalk command I entered always times out.

Here are the commands I am entering as it relates to three tutorial steps stated above:

1) make -f ocStbHostAVInterfaceTable_Makefile

2) ./ocStbHostAVInterfaceTable -f -L -DocStbHostAVInterfaceTable -M localhost:1161

3)  snmpwalk -v1 -c public localhost:1161 ocStbHostAVInterfaceTable

Note: Without the "-c public" option the snmpwalk command was not allowed to be entered.  It resulted in the general "usage" error being displayed.  Adding the "-c public" option results in the command being accepted, it just times out now, with the
following error:

   Timeout: No Response from localhost:1161

Thanks for you time in helping me out.



Dave Shield <D.T.Shield@csc.liv.ac.uk> wrote:
On 18/05/07, Need Help wrote:
> I have no idea what the -M option does .... I was just following the
> tutorial.

You keep talking about "the tutorial".
It might be useful if you could be a bit more explicit about exactly
which tutorial you are following. There are several different approaches
documented in the project web pages - which specific page are you
working with?

Dave





Get your own web address.
Have a HUGE year through Yahoo! Small Business.
--0-112349612-1179517088=:59298--


--===============0432764772==
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--===============0432764772==
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

--===============0432764772==--