I ran the agent by hand with the following: snmpd -f -Le 9999
Then, I issued the command to SET the UCD-SNMP-MIB::versionUpdateConfig.0 object to '1'. The console produced the following printout. NET-SNMP version 5.4.2.1 Connection from UDP: [127.0.0.1]:56555->[127.0.0.1] Warning: no access control information configured. It's unlikely this agent can serve any useful purpose in this state. Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent. This explains why the agent appears to hang. The process keeps running, but it no longer responds to incoming SETs or GETs due to a lack of access control information. My question is now why the agent doesn't have any access control information. This information is available in the /etc/snmp/snmpd.conf file, the same file used when the agent was started to begin with. Is there some other config file that is being "reloaded" instead of the config file the agent used at startup? Thanks. --Todd SwRI On 12/2/11 10:48 AM, "Dave Shield" <[email protected]> wrote: >On 29 November 2011 21:07, Newton, Todd A. <[email protected]> wrote: >> Yes, the agent is still running. However, I have not checked the log. >> Does logging need to be explicitly enabled? I've just been running >>snmpd >> through /etc/init.d. >> >> I have been running on Linux Ubuntu 10.4 and 11.4. The former is using >> v5.4.2.1, and the latter is using v5.4.3. > >No - you shouldn't need to explicitly enable logging (unless the Ubuntu >startup scripts disable it by default). Have you managed to find the >appropriate log file? > >Alternatively, you could run the agent by hand, using something like > > snmpd -f -Le 9999 > >and then send it the versionUpdateConfig.0 SET request (on port 9999). >That would allow you to see any output immediately. > >Dave ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
