Thank you Wes & Dave it is good advice. What I haven't explained is that I 
have this PC setup on an  isolated network .  I am really trying to digest 
Net-SNMP in smaller chunks  (the ole divide and conquer bit ) so I went 
with the simple rwcommunity public. I will change the snmpd.conf file to 
be rwcommunity <somthing unique>.

I did a make clean, then the sequence ./configure, make and make install. 
Dave thank you for pointing out to look at exactly what the error was, and 
sending along the ldd command suggestion. The error returned by snmpd was 
pointing to the shared library libnetsnmp.so.25 which wasn't there.. 
Maybe(???) when I did the first  ./configure --with-mib-modules-host  I 
tripped myself up ... newbie grasping at straws there. 

Well now  the snmpd --version, snmpget ---version are returning what's 
expected. I am still getting timeouts when I poll the localhost though. 

I know when I followed the instructions in "Essential SNMP" for Net-SNMP 
windows agents  I needed to start the agent after the package was 
installed and registered. There is one sentence in the same book in the 
section "Net-SNMP for Unix" that states "when the agent is started" .

Is there something similar for Ubuntu? 

Thanks for your patience with this newbie.





Wes Hardaker <[email protected]> 
02/22/2011 10:50 AM

To
Dave Shield <[email protected]>
cc
[email protected], [email protected]
Subject
Re: Ubuntu: Different paths and where to look?






>>>>> On Mon, 21 Feb 2011 11:02:26 +0000, Dave Shield 
<[email protected]> said:

>> The commands
>> "snmget -v2c -c public localhost system.sysUpTime" and "snmpwalk -v2c 
-c
>> public  localhost" both return "Timeout: No Response from localhost" 
even
>> though there is a  snmpd.conf file,  with "rwcommunity public",

DS> I *STRONGLY* suggest that you amend this to read  "rocommunity public"
DS> rather than using "rwcommunity".

Oh, yeah...  Well *I* STRONGLY suggest he uses something completely
different than the community "public".

[there are huge numbers of hacker tools out there that try and use the
"public" keyword when probing devices]
-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to