Re: Net-SNMP (ASAP)
Umesh Kamath <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <OF2287C787.5FFA1E99-ON65257419.003CF739-86257419.003E14BA@in.ibm.com> |
Dave, When i tried to run snmpd i got an error as below Note; I have installed Net-SNMP from user "uk1577" /tmp/net-snmp-5.4.1/sbin/snmpd -f -Le -Dread_config registered debug token read_config, 1 Error opening specified endpoint "" Server Exiting with code 1 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 Sending 44 bytes to UDP: [127.0.0.1]:162 0000: 30 2A 02 01 00 04 06 70 75 62 6C 69 63 A4 1D 06 0*.....public... 0016: 0A 2B 06 01 04 01 BF 08 03 02 0E 40 04 87 21 2A .+.........@..!* 0032: 0D 02 01 00 02 01 00 43 01 6B 30 00 .......C.k0. 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 # SECTION: Access Control Setup # rwuser: a SNMPv3 read-write user # arguments: user [noauth|auth|priv] [restriction_oid] rwuser "uk1577" noauth # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity public localhost # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity public localhost.localdomain rouser uk1577 noauth 0 Please let me know what is the problem here. "Dave Shield" <[email protected]> Sent by: [email protected] 03/27/2008 04:37 To Umesh Kamath/India/IBM@IBMIN cc [email protected], [email protected] Subject Re: Net-SNMP (ASAP) On 26/03/2008, Umesh Kamath <[email protected]> wrote: > Is there any command like snmpconf to config snmptrapd.conf file . $ snmpconf The following installed configuration files were found: 1: /etc/snmp/snmpd.conf Read in which (default = all): none I can create the following types of configuration files for you. Select the file type you wish to create: 1: snmpd.conf 2: snmptrapd.conf <======== 3: snmp.conf Select File: [ Have a guess which file you should choose! ] 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;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ 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 ------------------------------------------------------------------------- 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;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ 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
(unnamed)
(image/gif, 5.5 KB) - not displayed