RE: net-snmp newbie needs help

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

	See the /var/log/snmpd.log. I hope you are missing the
snmpd.conf file. If so run "snmpconf -i -g basic_setup". Refer "./snmpd
-h" and "snmpconf -h" for more details. If you have snmpd.conf file in
some other directory ( not in /usr/local/share/snmp/snmpd.con ) use -c
option to give the conf file path ( run ./snmpd -c <conf-file with full
path>)

Kanda

	

--__--__--

Message: 2
Date: Wed, 08 Mar 2006 10:28:23 -0800
From: Dana Heath <[email protected]>
To: [email protected]
Subject: net-snmp newbie needs help

Greetings!

I am BRAND new to the whole net-snmp thing, so please bear with me... 
I'm looking for some basic guidance.

I've run configure, make, and make install with the following successful
result (as far as I can tell):

---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------
 
  Net-SNMP Version:           5.1.4.0.1
  Building for:               linux
  Network transport support:  Callback Unix TCP UDP
  SNMPv3 Security Modules:    usm
  Agent MIB code:             mibII ucd_snmp snmpv3mibs notification 
target agent_mibs agentx utilities
  SNMP Perl modules:          disabled
  Embedded perl support:      disabled
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES
 
---------------------------------------------------------

 
However, after launching the snmpd process and verifying that it is
running (as shown below)

[root@pegasus sbin]# ps aux | grep snmpd
root     32317  3.0  0.2  7056 2584 ?        S    10:14   0:00 ./snmpd
root     32319  0.0  0.0  3508  372 pts/4    D    10:14   0:00 grep
snmpd


I cannot get a response from the snmp daemon (again, shown below)

[dana@pegasus net-snmp-5.1.4.pre1]$ snmpwalk -v 1 localhost -c public
system
Timeout: No Response from localhost


If, however, I launch /usr/bin/snmpd from my distribution, it runs
successfully as shown:

[dana@pegasus net-snmp-5.1.4.pre1]$ snmpwalk -v 1 localhost -c public
system SNMPv2-MIB::sysDescr.0 = STRING: Linux pegasus 2.4.20-8smp #1 SMP
Thu Mar 13 17:45:54 EST 2003 i686 SNMPv2-MIB::sysObjectID.0 = OID:
NET-SNMP-MIB::netSnmpAgentOIDs.10 SNMPv2-MIB::sysUpTime.0 = Timeticks:
(957) 0:00:09.57 SNMPv2-MIB::sysContact.0 = STRING: Root
<root@localhost> (configure
/etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: pegasus


Can anyone steer me in the right direction? Thanks,

Dana Heath


--__--__--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.