Thanks Ed/Dave fyi, the conf file pasted earlier is one that a coworker devised on AIX using the snnpconf. However, interestingly, when I use the following snmpd.conf that I generated myself on Solaris, the 'snmpget -c ....' works fine. Also, following the 'good' snmpd.conf file, Dave you will see the output from the snmpd -f -Le -Dread_config -d' using the snmpd.conf file that my coworker generated.
To summarize: When I use the snmpd.conf file that I generate on my system (which follows below), snmpget -c .... works. When I use snmpd.conf that my coworker generated on AIX (pasted wayy down below in the original email), snmpget -c ... timeout. Dave, the debug info. is pasted below when issuing snmpget -f -Le -Dread_config -d using the snmpd.conf file my coworker generated below. My goal is to use my coworkers snmpd.conf file ultimately (the snmpd.conf pasted wayy below in the original email). I just don't know why it's not responding to the snmpget -c .... Does this help? Thanks again for your response. ========================= Good snmpd.conf file - snmpget works with this ============================================ ######################################################################## ### # # snmpd.conf # # - created by the snmpconf configuration program # ######################################################################## ### # SECTION: System Information Setup # # This section defines some of the information reported in # the "system" mib group in the mibII tree. # syslocation: The [typically physical] location of the system. # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: location_string syslocation Cambridge,MA # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to "snmpd.conf.mine" 93 lines, 2470 characters # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: contact_string syscontact "Randy 5-1901" ######################################################################## ### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rwuser: a SNMPv3 read-write user # arguments: user [noauth|auth|priv] [restriction_oid] rwuser randy # rouser: a SNMPv3 read-only user # arguments: user [noauth|auth|priv] [restriction_oid] rouser rouser .1.3.6.1.4.1.1139 # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity public .1.3.6.1.2.1.1 # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity private 127.0.0.1 ######################################################################## ### # SECTION: Trap Destinations # # Here we define who the agent will send traps to. # trap2sink: A SNMPv2c trap receiver # arguments: host [community] [portnum] trap2sink lca1099 # trapcommunity: Default trap sink community to use # arguments: community-string trapcommunity public # authtrapenable: Should we send traps when authentication failures occur # arguments: 1 | 2 (1 = yes, 2 = no) authtrapenable 2 ===================================== Output from 'snmpd -f -Le -Dread_config using snmpd.conf devised by my coworker using snmpconf =============================================== read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:44 examining: rwuser auth read_config: Found a parser. Calling it: rwuser / auth read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:54 examining: rocommu nity whatever read_config: Found a parser. Calling it: rocommunity / whatever read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:59 examining: rwcommu nity private read_config: Found a parser. Calling it: rwcommunity / private read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:76 examining: trap2si nk 168.159.121.153 public read_config: Found a parser. Calling it: trap2sink / 168.159.121.153 public read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:86 examining: trapcom munity public read_config: Found a parser. Calling it: trapcommunity / public read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:91 examining: authtra penable 2 read_config: Found a parser. Calling it: authtrapenable / 2 read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:116 examining: agenta ddress 1161 read_config: Found a parser. Calling it: agentaddress / 1161 read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:123 examining: com2se c notConfigUser default public read_config: Found a parser. Calling it: com2sec / notConfigUser default public read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:44 examining: rwuser auth read_config: Found a parser. Calling it: rwuser / auth read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:54 examining: rocommu nity whatever read_config: Found a parser. Calling it: rocommunity / whatever read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:59 examining: rwcommu nity private read_config: Found a parser. Calling it: rwcommunity / private read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:76 examining: trap2si nk 168.159.121.153 public read_config: Found a parser. Calling it: trap2sink / 168.159.121.153 public read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:86 examining: trapcom munity public read_config: Found a parser. Calling it: trapcommunity / public read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:91 examining: authtra penable 2 read_config: Found a parser. Calling it: authtrapenable / 2 read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:116 examining: agenta ddress 1161 read_config: Found a parser. Calling it: agentaddress / 1161 read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:123 examining: com2se c notConfigUser default public read_config: Found a parser. Calling it: com2sec / notConfigUser default public group1 "" any noAuthNoPriv exact allview none none read_config: Found a parser. Calling it: access / group1 "" any noAu thNoPriv exact allview none none read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:131 examining: access notConfigGroup "" any auth exact allview none none read_config: Found a parser. Calling it: access / notConfigGroup "" any auth exact allview none none read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:143 examining: master agentx read_config: Found a parser. Calling it: master / agentx Turning on AgentX master support. read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.conf:147 examining: agentX Socket udp:localhost:705 read_config: Found a parser. Calling it: agentXSocket / udp:localhost:705 read_config: /opt/emc/dist/local/usr/share/snmp/snmpd.local.conf: No such file o r directory read_config: config dir: /opt/emc/dist/local/usr/lib/snmp read_config: Directory not present: /opt/emc/dist/local/usr/lib/snmp read_config: config dir: //.snmp read_config: Directory not present: //.snmp read_config: config path used for snmpd:/var/net-snmp (persistent path:/var/net -snmp) read_config: config dir: /var/net-snmp read_config: Reading configuration /var/net-snmp/snmpd.conf read_config: /var/net-snmp/snmpd.conf:32 examining: usmUser 1 3 0x80001f88801bea 6feb47261304 0x414e65774461793500 0x414e65774461793500 NULL .1.3.6.1.6.3.10.1.1. 2 0x5069c825448c5b6bd4281aaf3ce2ddb5 .1.3.6.1.6.3.10.1.2.2 0x5069c825448c5b6bd42 81aaf3ce2ddb5 0x00 read_config: Found a parser. Calling it: usmUser / 1 3 0x80001f88801bea6feb4726 1304 0x414e65774461793500 0x414e65774461793500 NULL .1.3.6.1.6.3.10.1.1.2 0x5069 c825448c5b6bd4281aaf3ce2ddb5 .1.3.6.1.6.3.10.1.2.2 0x5069c825448c5b6bd4281aaf3ce 2ddb5 0x00 read_config: /var/net-snmp/snmpd.conf:33 examining: setserialno 764030627 read_config: Found a parser. Calling it: setserialno / 764030627 read_config: /var/net-snmp/snmpd.conf:41 examining: engineBoots 80 read_config: Found a parser. Calling it: engineBoots / 80 read_config: /var/net-snmp/snmpd.conf:42 examining: oldEngineID 0x80001f88801bea 6feb47261304 read_config: /var/net-snmp/snmpd.local.conf: No such file or directory read_config: config path used for agentx:/opt/emc/dist/local/usr/etc/snmp:/opt/ emc/dist/local/usr/share/snmp:/opt/emc/dist/local/usr/lib/snmp://.snmp (persiste nt path:/var/net-snmp) read_config: config dir: /opt/emc/dist/local/usr/etc/snmp read_config: Directory not present: /opt/emc/dist/local/usr/etc/snmp read_config: config dir: /opt/emc/dist/local/usr/share/snmp read_config: /opt/emc/dist/local/usr/share/snmp/agentx.conf: No such file or dir ectory read_config: /opt/emc/dist/local/usr/share/snmp/agentx.local.conf: No such file or directory read_config: config dir: /opt/emc/dist/local/usr/lib/snmp read_config: Directory not present: /opt/emc/dist/local/usr/lib/snmp read_config: config dir: //.snmp read_config: Directory not present: //.snmp read_config: config path used for agentx:/var/net-snmp (persistent path:/var/ne t-snmp) read_config: config dir: /var/net-snmp read_config: /var/net-snmp/agentx.conf: No such file or directory read_config: /var/net-snmp/agentx.local.conf: No such file or directory read_config: config path used for snmp:/opt/emc/dist/local/usr/etc/snmp:/opt/em c/dist/local/usr/share/snmp:/opt/emc/dist/local/usr/lib/snmp://.snmp (persistent path:/var/net-snmp) read_config: config dir: /opt/emc/dist/local/usr/etc/snmp read_config: Directory not present: /opt/emc/dist/local/usr/etc/snmp read_config: config dir: /opt/emc/dist/local/usr/share/snmp read_config: /opt/emc/dist/local/usr/share/snmp/snmp.conf: No such file or direc tory read_config: /opt/emc/dist/local/usr/share/snmp/snmp.local.conf: No such file or directory read_config: config dir: /opt/emc/dist/local/usr/lib/snmp read_config: Directory not present: /opt/emc/dist/local/usr/lib/snmp read_config: config dir: //.snmp read_config: Directory not present: //.snmp read_config: config path used for snmp:/var/net-snmp (persistent path:/var/net- snmp) read_config: config path used for snmp:/var/net-snmp (persistent path:/var/net- snmp) read_config: config dir: /var/net-snmp read_config: /var/net-snmp/snmp.conf: No such file or directory read_config: /var/net-snmp/snmp.local.conf: No such file or directory read_config: storing: # # net-snmp (or ucd-snmp) persistent data file. # ######################################################################## #### # STOP STOP STOP STOP STOP STOP STOP STOP STOP # # **** DO NOT EDIT THIS FILE **** # # STOP STOP STOP STOP STOP STOP STOP STOP STOP ######################################################################## #### # # DO NOT STORE CONFIGURATION ENTRIES HERE. # Please save normal configuration tokens for snmpd in SNMPCONFPATH/snmpd.conf. # Only "createUser" tokens should be placed here by snmpd administrators. # (Did I mention: do not edit this file?) # -----Original Message----- From: Kuczynski, Edward [mailto:[EMAIL PROTECTED] Sent: Friday, December 21, 2007 3:01 PM To: Smith, Randy; net-snmp-users@lists.sourceforge.net Subject: RE: Timeout: No Response from localhost. We ran into a problem having both readonly and r/w in the conf file for v2. It wouldn't hurt to comment out the r/w and try again. Just a thought. Ed -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, December 21, 2007 1:01 PM To: net-snmp-users@lists.sourceforge.net Subject: Timeout: No Response from localhost. Hi, I was wondering if someone could take a quick look at my conf file below and see why when I do the following: /opt/emc/dist/local/usr/bin/snmpget -v 1 -c whatever localhost SNMPv2-MIB::sysUp Time.0 I get the following error message: Timeout: No Response from localhost. This is assuming of course that startup of 'snmpd' master agent is successful (I tried the patch to get rid of the first three messages and it didn't work but apparently it the agent is running noneless). # snmpd -f -Le netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 Turning on AgentX master support. NET-SNMP version 5.4.1 Thank you again for your response, Randy ######################################################################## ### # # snmpd.conf # # - created by the snmpconf configuration program # ######################################################################## ### # SECTION: System Information Setup # # This section defines some of the information reported in # the "system" mib group in the mibII tree. # syslocation: The [typically physical] location of the system. # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: location_string syslocation Cambridge # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: contact_string syscontact "contact administrator" ######################################################################## ### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rwuser: a SNMPv3 read-write user # arguments: user [noauth|auth|priv] [restriction_oid] rwuser auth # rouser: a SNMPv3 read-only user # arguments: user [noauth|auth|priv] [restriction_oid] #rouser # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity whatever # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity private ######################################################################## ### # SECTION: Trap Destinations # # Here we define who the agent will send traps to. # trapsink: A SNMPv1 trap receiver # arguments: host [community] [portnum] #trapsink 10.4.5.178 public # trap2sink: A SNMPv2c trap receiver # arguments: host [community] [portnum] trap2sink 168.159.121.153 public # informsink: A SNMPv2c inform (acknowledged trap) receiver # arguments: host [community] [portnum] #informsink 10.4.10.94 public 162 # trapcommunity: Default trap sink community to use # arguments: community-string trapcommunity public # authtrapenable: Should we send traps when authentication failures occur # arguments: 1 | 2 (1 = yes, 2 = no) authtrapenable 2 ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/listinfo/net-snmp-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/listinfo/net-snmp-users