YEAH ! (Re: snmpd.conf: (Warning: no access control information

This is a discussion on YEAH ! (Re: snmpd.conf: (Warning: no access control information within the SNMP Coders forums, part of the Networking and Network Related category; --===============0912657581== Content-Type: multipart/alternative; boundary="0-2076423481-1179776078=:15975" Content-Transfer-Encoding: 8bit --0-2076423481-1179776078=:15975 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-21-2007
Need Help
 
Posts: n/a
Default YEAH ! (Re: snmpd.conf: (Warning: no access control information

--===============0912657581==
Content-Type: multipart/alternative; boundary="0-2076423481-1179776078=:15975"
Content-Transfer-Encoding: 8bit

--0-2076423481-1179776078=:15975
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


Ok, I am a bit excited since I figured out why the agent was timing out on me.

Instead of using the "-c public" option as below:

snmpwalk -v1 -c public localhost:1161 ocStbHostAVInterfaceTable


..... I needed to use the correct community name I entered when configuring the agent:

snmpwalk -v1 -c mycommunity_ro localhost:1161 ocStbHostAVInterfaceTable


I am very excited to have reached this point.



Need Help <snmpnoob@yahoo.com> wrote: 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 <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.-------------------------------------------------------------------------
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/...et-snmp-coders


Shape Yahoo! in your own image. Join our Network Research Panel today!http://us.rd.yahoo.com/evt=48517/*ht...invite.asp?a=7 hot CTA = Join our Network Research Panel
--0-2076423481-1179776078=:15975
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<br>Ok, I am a bit excited since I figured out why the agent was timing out on me.<br><br>Instead of using the "-c public" option as below:<br><br>&nbsp;&nbsp;&nbsp; snmpwalk -v1<span style="font-weight: bold;"> -c public</span> localhost:1161 ocStbHostAVInterfaceTable<br><br><br>.... I needed to use the correct community name I entered when configuring the agent:<br><br>&nbsp; snmpwalk -v1 <span style="font-weight: bold;">-c mycommunity_ro </span>localhost:1161 ocStbHostAVInterfaceTable<br><br><br>I am very excited to have reached this point.<br><br><br><br><b><i>Need Help &lt;snmpnoob@yahoo.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Yes, of course ..... <br><br>Trying to learn NetSnmp, I was reading through the following tutorial:<br><br>http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/if-mib/index.html<br><br>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.&nbsp; There are about 5 or 6 sections to this tutorial,&nbsp; At the end of each section is a link to the next section.&nbsp;&nbsp; The last section, entitled "MFD: ifTable testing" explains how to do the following:<br><br>1) make the code <br>2) start the specialized agent for testing purposes<br>3) issue a snmpwalk command to verify populated table values.<br><br>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.<br><br>I have been reading nonstop for about 2 weeks about anything relating to NetSnmp.&nbsp; 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.&nbsp; <br><br>I
would love to perform a "snmpwalk", but can not since the snmpwalk command I entered always times out.<br><br>Here are the commands I am entering as it relates to three tutorial steps stated above:<br><br>1) make -f ocStbHostAVInterfaceTable_Makefile<br><br>2) ./ocStbHostAVInterfaceTable -f -L -DocStbHostAVInterfaceTable -M localhost:1161<br><br>3)&nbsp; snmpwalk -v1<span style="font-weight: bold;"> -c public</span> localhost:1161 ocStbHostAVInterfaceTable<br><br>Note: Without the "-c public" option the snmpwalk command was not allowed to be entered.&nbsp; It resulted in the general "usage" error being displayed.&nbsp; Adding the "-c public" option results in the command being accepted, it just times out now, with the following error:<br><br>&nbsp;&nbsp; <span style="font-weight: bold;">Timeout: No Response from localhost:1161</span><br><br>Thanks for you time in helping me out.<br><br><br><br><b><i>Dave Shield &lt;D.T.Shield@csc.liv.ac.uk&gt;</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>&gt; I have no idea what the -M option does .... I was just following the<br>&gt; tutorial.<br><br>You keep talking about "the tutorial".<br>It might be useful if you could be a bit more explicit about exactly<br>which tutorial you are following. There are several different approaches<br>documented in the project web pages - which specific page are you<br>working with?<br><br>Dave<br></snmpnoob@yahoo.com></blockquote><br><div> </div><hr size="1"> <a href="http://us.rd.yahoo.com/evt=49678/*http://smallbusiness.yahoo.com/domains/?p=BESTDEAL"> Get your own web address.</a><br> Have a HUGE year through <a href="http://us.rd.yahoo.com/evt=49678/*http://smallbusiness.yahoo.com/domains/?p=BESTDEAL">Yahoo! Small Business.</a>-------------------------------------------------------------------------<br>This SF.net email is
sponsored by DB2 Express<br>Download DB2 Express C - the FREE version of DB2 express and take<br>control of your XML. No limits. Just data. Click to get it now.<br>http://sourceforge.net/powerbar/db2/_______________________________________________<br >Net-snmp-coders mailing list<br>Net-snmp-coders@lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/net-snmp-coders<br></blockquote><br><p>
Shape Yahoo! in your own image.
Join our Network Research Panel today!

http://us.rd.yahoo.com/evt=48517/*ht...invite.asp?a=7

hot CTA = Join our Network Research Panel
--0-2076423481-1179776078=:15975--


--===============0912657581==
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/
--===============0912657581==
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

--===============0912657581==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:36 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0