I am performing the following three steps below (as recommended by the NetSnmp 
tutorial) to be able to test whether the changes I made to the 
"xxx_data_access.c" table file can be accessed via an "snmpwalk" request:

1) make -f ocStbHostAVInterfaceTable_Makefile
2) ./ocStbHostAVInterfaceTable -f -L -DocStbHostAVInterfaceTable -M 
localhost:1161
3) snmpwalk -v1 -c public localhost:1161 ocStbHostAVInterfaceTable

When I execute the "snmpwalk" command, it no longer has a problem with the 
syntax used (as was my original problem), but instead it now produces the 
following response after waiting two second or so:

    "Timeout: No Response from localhost:1161"


Any idea why this timeout might be occurring?  I am using "1161" because that 
is what was in the tutorial.   Am I making a dumb mistake by simply using this 
"1161" value or should it work for me on my system?  

PS:   I did verified that my specialized agent is running (see below)

[EMAIL PROTECTED] ps -ef | grep localhost
root     26895  7369  0 10:34 pts/13   00:00:00 ./ocStbHostAVInterfaceTable -f 
-L -DocStbHostAVInterfaceTable -M localhost:1161
root      9186  7369  0 11:08 pts/13   00:00:00 grep localhost





Dave Shield <[EMAIL PROTECTED]> wrote: On 17/05/07, Need Help  wrote:
> 4) snmpwalk -v1 localhost:1161 ocStbHostAVInterfaceTable  (THIS FAILS)


Try specifying a community string.
Something like

    snmpwalk -v1 -c public localhost:1161  ocStbHostAVInterfaceTable

Dave


       
---------------------------------
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
-------------------------------------------------------------------------
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/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to