Bluehost.com Web Hosting $6.95

Re: Net-SNMP (ASAP)

This is a discussion on Re: Net-SNMP (ASAP) within the SNMP Users forums, part of the Networking and Network Related category; On 27/03/2008, Umesh Kamath <umkamath@in.ibm.com> wrote: > When i tried to run snmpd ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-27-2008
Dave Shield
 
Posts: n/a
Default Re: Net-SNMP (ASAP)

On 27/03/2008, Umesh Kamath <umkamath@in.ibm.com> wrote:
> When i tried to run snmpd i got an error as below
>
> /tmp/net-snmp-5.4.1/sbin/snmpd -f -Le -Dread_config
> Error opening specified endpoint ""
> Server Exiting with code 1


That's expected if you're running as non-root.



> Here when i tried to bind on port 1161,
> i got read_config_store open failure on /var/net-snmp/snmpd.conf
>
> /tmp/net-snmp-5.4.1/sbin/snmpd -f -Le -d udp:1161
> read_config_store open failure on /var/net-snmp/snmpd.conf
> read_config_store open failure on /var/net-snmp/snmpd.conf
> read_config_store open failure on /var/net-snmp/snmpd.conf



Again, that's expected when running as non-root.
Don't worry about them - the agent will run OK.


> I ran /tmp/net-snmp-5.4.1/sbin/snmpd -c /home/uk1577/snmpd.conf udp:1161
> command and this daemon showing in "ps -ef". but when i run
> "snmpget -v1 -cpublic localhost sysUpTime.0"
> i am getting timeout Response.



> Here is snmpd.conf o/p
>
> rwuser "uk1577" noauth
> rouser uk1577 noauth 0


If you are using SNMP_v1, then these two lines are irrelevant.
(though you don't need both entries - rwuser covers read-access)


> rocommunity public localhost
> rwcommunity public localhost.localdomain


Again, you don't need both entries.

Try deleting both lines, and just have the one entry

rocommunity public

Then restart the agent, and see whether you can query it or not.


If not, then restart the agent using

/tmp/net-snmp-5.4.1/sbin/snmpd -f -Le -d -c
/home/uk1577/snmpd.conf udp:1161

and send the same query. Do you see anything output by the agent or not?

Dave

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 08:33 PM.


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