This is a discussion on Re: snmpd.conf: (Warning: no access control information configured) within the SNMP Coders forums, part of the Networking and Network Related category; --===============0584430147== Content-Type: multipart/alternative; boundary="0-1915799689-1179501143=:28997" Content-Transfer-Encoding: 8bit --0-1915799689-1179501143=:28997 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0584430147==
Content-Type: multipart/alternative; boundary="0-1915799689-1179501143=:28997" Content-Transfer-Encoding: 8bit --0-1915799689-1179501143=:28997 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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) [root@dhcp-201-187]# 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 <D.T.Shield@csc.liv.ac.uk> 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 --------------------------------- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. --0-1915799689-1179501143=:28997 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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:<br><br>1) make -f ocStbHostAVInterfaceTable_Makefile<br>2) ./ocStbHostAVInterfaceTable -f -L -DocStbHostAVInterfaceTable -M localhost:1161<br>3) snmpwalk -v1 <span style="font-weight: bold;">-c public</span> localhost:1161 ocStbHostAVInterfaceTable<br><br>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:<br><br> "Timeout: No Response from localhost:1161"<br><br><br>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? <br><br>PS: I did verified that my specialized agent is running (see below)<br><br>[root@dhcp-201-187]# ps -ef | grep localhost<br>root 26895 7369 0 10:34 pts/13 00:00:00 ./ocStbHostAVInterfaceTable -f -L -DocStbHostAVInterfaceTable -M localhost:1161<br>root &nbs p; 9186 7369 0 11:08 pts/13 00:00:00 grep localhost<br><br><br><br><br><br><b><i>Dave Shield <D.T.Shield@csc.liv.ac.uk></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On 17/05/07, Need Help <snmpnoob@yahoo.com> wrote:<br>> 4) snmpwalk -v1 localhost:1161 ocStbHostAVInterfaceTable (THIS FAILS)<br><br><br>Try specifying a community string.<br>Something like<br><br> snmpwalk -v1 -c public localhost:1161 ocStbHostAVInterfaceTable<br><br>Dave<br></snmpnoob@yahoo.com></blockquote><br><p> <hr size=1>Take the Internet to Go: Yahoo!Go puts the <a href="http://us.rd.yahoo.com/evt=48253/*http://mobile.yahoo.com/go?refer=1GNXIC">Internet in your pocket:</a> mail, news, photos & more. --0-1915799689-1179501143=:28997-- --===============0584430147== 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/ --===============0584430147== 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 --===============0584430147==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|