Hi,
  Thanks for your mail. Please find the output as follows,

1) net-snmp-config --snmpconfpath
     Output:
/etc/snmp:/usr/share/snmp:/usr/lib64/snmp:/root/.snmp:/var/net-snmp

2) net-snmp-config --configure-options
     Output: 

'--host=x86_64-redhat-linux-gnu' '--build=x86_64-redhat-linux-gnu'
'--target=x86_64-redhat-linux' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--with-defaults'
'--with-sys-contact=Unknown' '--with-mib-modules=smux'
'--with-sysconfdir=/etc/net-snmp' '--enable-shared'
'--with-perl-modules=PREFIX=/tmp/net-snmp-root/usr INSTALLDIRS=vendor'
'--enable-embedded-perl' '--with-cflags=-O2 -g' 'CFLAGS=-O2 -g'
'CXXFLAGS=-O2 -g' 'FFLAGS=-O2 -g' 'build_alias=x86_64-redhat-linux-gnu'
'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux'


3) ps auxwww | grep snmpd | grep -v grep
     Output: No output

How to restart the snmp agent ?



Thanks & Regards,
ElayaRaja 


-----Original Message-----
From: Thomas Anders [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 16, 2008 2:50 AM
To: Sathasivam, Elayaraja
Cc: [email protected]
Subject: Re: net-snmp

Sathasivam, Elayaraja wrote:
> I am using RedHat RHEL 5 x86_64 64 bits, I have installed the
following
> files for net-snmp
> 
> I have not checked previous net-snmp is running or not. By default
> location I installed, without setting the path.
> 
> - rpm --i net-snmp-5.4.x.svn200803270330-1.1.x86_64.rpm
> [...]
> snmpd.conf was created under the path /usr/share/snmp which contains
> 'rocommunity public' 
> 
> I tired to restart the snmp agent such as service snmpd restart. But I
> am not getting any response or error.
> 
> When I try to execute the command 'snmpwalk -v 1 -c public localhost
> versiontag'
> 
> Output: Timeout: No Response from localhost

What's the output of "net-snmp-config --snmpconfpath" and
"net-snmp-config --configure-options"?

What's the output of "ps auxwww | grep snmpd | grep -v grep" after
you've (re)started the snmp agent?


+Thomas






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to