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; --===============1302537234== Content-Type: multipart/alternative; boundary="0-142003922-1179508609=:80253" Content-Transfer-Encoding: 8bit --0-142003922-1179508609=:80253 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1302537234==
Content-Type: multipart/alternative; boundary="0-142003922-1179508609=:80253" Content-Transfer-Encoding: 8bit --0-142003922-1179508609=:80253 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit The configuration file I created is located at the following location: /export/home/myname/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf ..... and has only one line in it as follows: rocommunity mycommunity_ro I started the agent using the following: ../ocStbHostAVInterfaceTable -f -L -Dread_config -M localhost:1161 & The output when starting the agent using the "-Dread_config" option is provided below. Not really sure what to make of it. I see that my configuration file is being read in whcih is nice, however, when I try to do the "snmpwalk", it still times out: [root@dhcp-201-187 ocStbHostAVInterfaceTable]# ./ocStbHostAVInterfaceTable -f -L -Dread_config -M localhost:1161 & [1] 30276 [root@dhcp-201-187 ocStbHostAVInterfaceTable]# No log handling enabled - turning on stderr logging registered debug token read_config, 1 read_config: reading premib configuration tokens read_config: config path used for ocStbHostAVInterfaceTable:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp) read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/ocStbHostAVInterfaceTable.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: Reading configuration /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf read_config: /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf:31 examining: rocommunity mycommunity_ro read_config: /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/ocStbHostAVInterfaceTable.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: /root/.snmp/ocStbHostAVInterfaceTable.conf: No such file or directory read_config: /root/.snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: config path used for ocStbHostAVInterfaceTable:/var/net-snmp (persistent path:/var/net-snmp) read_config: /var/net-snmp/ocStbHostAVInterfaceTable.conf: No such file or directory read_config: /var/net-snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: config path used for agentx:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp) read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/agentx.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/agentx.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/share/snmp/agentx.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/share/snmp/agentx.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/agentx.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/agentx.local.conf: No such file or directory read_config: /root/.snmp/agentx.conf: No such file or directory read_config: /root/.snmp/agentx.local.conf: No such file or directory read_config: config path used for agentx:/var/net-snmp (persistent path:/var/net-snmp) read_config: /var/net-snmp/agentx.conf: No such file or directory read_config: /var/net-snmp/agentx.local.conf: No such file or directory read_config: config path used for snmp:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp) read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/snmp.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/snmp.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/share/snmp/snmp.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/share/snmp/snmp.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/snmp.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/snmp.local.conf: No such file or directory read_config: /root/.snmp/snmp.conf: No such file or directory read_config: /root/.snmp/snmp.local.conf: No such file or directory read_config: config path used for snmp:/var/net-snmp (persistent path:/var/net-snmp) read_config: /var/net-snmp/snmp.conf: No such file or directory read_config: /var/net-snmp/snmp.local.conf: No such file or directory read_config: reading normal configuration tokens read_config: config path used for ocStbHostAVInterfaceTable:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp) read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/ocStbHostAVInterfaceTable.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: Reading configuration /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf read_config: /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf:31 examining: rocommunity mycommunity_ro read_config: Found a parser. Calling it: rocommunity / mycommunity_ro read_config: /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/ocStbHostAVInterfaceTable.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: /root/.snmp/ocStbHostAVInterfaceTable.conf: No such file or directory read_config: /root/.snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: config path used for ocStbHostAVInterfaceTable:/var/net-snmp (persistent path:/var/net-snmp) read_config: /var/net-snmp/ocStbHostAVInterfaceTable.conf: No such file or directory read_config: /var/net-snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory read_config: config path used for agentx:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp) read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/agentx.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/agentx.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/share/snmp/agentx.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/share/snmp/agentx.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/agentx.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/agentx.local.conf: No such file or directory read_config: /root/.snmp/agentx.conf: No such file or directory read_config: /root/.snmp/agentx.local.conf: No such file or directory read_config: config path used for agentx:/var/net-snmp (persistent path:/var/net-snmp) read_config: /var/net-snmp/agentx.conf: No such file or directory read_config: /var/net-snmp/agentx.local.conf: No such file or directory read_config: config path used for snmp:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp) read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/snmp.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/snmp.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/share/snmp/snmp.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/share/snmp/snmp.local.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/snmp.conf: No such file or directory read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/snmp.local.conf: No such file or directory read_config: /root/.snmp/snmp.conf: No such file or directory read_config: /root/.snmp/snmp.local.conf: No such file or directory read_config: config path used for snmp:/var/net-snmp (persistent path:/var/net-snmp) read_config: /var/net-snmp/snmp.conf: No such file or directory read_config: /var/net-snmp/snmp.local.conf: No such file or directory Dave Shield <D.T.Shield@csc.liv.ac.uk> wrote: On 18/05/07, Need Help wrote: > 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? What is in the config file? If you're not sure which config file(s) are being read in, try adding "-Dread_config" when starting the agent. > 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? That ought to work - as long as whatever you specify when starting the agent matches the destination in the snmpwalk command. Dave --------------------------------- Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. --0-142003922-1179508609=:80253 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit The configuration file I created is located at the following location:<br><br>/export/home/myname/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf<br><br>.... and has only one line in it as follows:<br><br> rocommunity mycommunity_ro<br><br><br>I started the agent using the following:<br><br>./ocStbHostAVInterfaceTable -f -L -Dread_config -M localhost:1161 &<br><br><br>The output when starting the agent using the "-Dread_config" option is provided below. Not really sure what to make of it. I see that my configuration file is being read in whcih is nice, however, when I try to do the "snmpwalk", it still times out:<br><br>[root@dhcp-201-187 ocStbHostAVInterfaceTable]# ./ocStbHostAVInterfaceTable -f -L -Dread_config -M localhost:1161 &<br>[1] 30276<br>[root@dhcp-201-187 ocStbHostAVInterfaceTable]# No log handling enabled - turning on stderr logging<br>registered debug token read_config, 1<br>read_config: reading premib configuration tokens<br>read_config: config path used for ocStbHostAVInterfaceTable:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/ocStbHostAVInterfaceTable.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: Reading configuration /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf:31 examining: rocommunity mycommunity_ro<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/ocStbHostAVInterfaceTable.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: /root/.snmp/ocStbHostAVInterfaceTable.conf: No such file or directory<br>read_config: /root/.snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: config path used for ocStbHostAVInterfaceTable:/var/net-snmp (persistent path:/var/net-snmp)<br>read_config: /var/net-snmp/ocStbHostAVInterfaceTable.conf: No such file or directory<br>read_config: /var/net-snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: config path used for agentx:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/agentx.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/agentx.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/agentx.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/agentx.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/agentx.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/agentx.local.conf: No such file or directory<br>read_config: /root/.snmp/agentx.conf: No such file or directory<br>read_config: /root/.snmp/agentx.local.conf: No such file or directory<br>read_config: config path used for agentx:/var/net-snmp (persistent path:/var/net-snmp)<br>read_config: /var/net-snmp/agentx.conf: No such file or directory<br>read_config: /var/net-snmp/agentx.local.conf: No such file or directory<br>read_config: config path used for snmp:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/snmp.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/snmp.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/snmp.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/snmp.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/snmp.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/snmp.local.conf: No such file or directory<br>read_config: /root/.snmp/snmp.conf: No such file or directory<br>read_config: /root/.snmp/snmp.local.conf: No such file or directory<br>read_config: config path used for snmp:/var/net-snmp (persistent path:/var/net-snmp)<br>read_config: /var/net-snmp/snmp.conf: No such file or directory<br>read_config: /var/net-snmp/snmp.local.conf: No such file or directory<br>read_config: reading normal configuration tokens<br>read_config: config path used for ocStbHostAVInterfaceTable:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/ocStbHostAVInterfaceTable.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: Reading configuration /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.conf:31 examining: rocommunity mycommunity_ro<br>read_config: Found a parser. Calling it: rocommunity / mycommunity_ro<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/ocStbHostAVInterfaceTable.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: /root/.snmp/ocStbHostAVInterfaceTable.conf: No such file or directory<br>read_config: /root/.snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: config path used for ocStbHostAVInterfaceTable:/var/net-snmp (persistent path:/var/net-snmp)<br>read_config: /var/net-snmp/ocStbHostAVInterfaceTable.conf: No such file or directory<br>read_config: /var/net-snmp/ocStbHostAVInterfaceTable.local.conf: No such file or directory<br>read_config: config path used for agentx:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/agentx.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/agentx.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/agentx.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/agentx.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/agentx.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/agentx.local.conf: No such file or directory<br>read_config: /root/.snmp/agentx.conf: No such file or directory<br>read_config: /root/.snmp/agentx.local.conf: No such file or directory<br>read_config: config path used for agentx:/var/net-snmp (persistent path:/var/net-snmp)<br>read_config: /var/net-snmp/agentx.conf: No such file or directory<br>read_config: /var/net-snmp/agentx.local.conf: No such file or directory<br>read_config: config path used for snmp:/export/home/rosent1/snmp/usr/local/etc/snmp:/export/home/rosent1/snmp/usr/local/share/snmp:/export/home/rosent1/snmp/usr/local/lib/snmp:/root/.snmp (persistent path:/var/net-snmp)<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/snmp.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/etc/snmp/snmp.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/snmp.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/share/snmp/snmp.local.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/snmp.conf: No such file or directory<br>read_config: /export/home/rosent1/snmp/usr/local/lib/snmp/snmp.local.conf: No such file or directory<br>read_config: /root/.snmp/snmp.conf: No such file or directory<br>read_config: /root/.snmp/snmp.local.conf: No such file or directory<br>read_config: config path used for snmp:/var/net-snmp (persistent path:/var/net-snmp)<br>read_config: /var/net-snmp/snmp.conf: No such file or directory<br>read_config: /var/net-snmp/snmp.local.conf: No such file or directory<br><br><br><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 18/05/07, Need Help <snmpnoob@yahoo.com> wrote:<br>> When I execute the "snmpwalk" command, it no longer has a problem with the<br>> syntax used (as was my original problem), but instead it now produces the<br>> 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?<br><br>What is in the config file?<br>If you're not sure which config file(s) are being read in,<br>try adding "-Dread_config" when starting the agent.<br><br><br>> I am using "1161" because<br>> that is what was in the tutorial. Am I making a dumb mistake by simply<br>> using this "1161" value or should it work for me on my system?<br><br>That ought to work - as long as whatever you specify when starting<br>the agent matches the destination in the snmpwalk command.<br><br>Dave<br></snmpnoob@yahoo.com></blockquote><br><p> <hr size=1>Expecting? Get great news right away with <a href="http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html">email Auto-Check.</a><br>Try the <a href="http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html">Yahoo! Mail Beta.</a> --0-142003922-1179508609=:80253-- --===============1302537234== 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/ --===============1302537234== 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 --===============1302537234==-- |