Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-05 Thread Newton, Todd A.
You're right, Robert. The agent is running as an unprivileged user. The snmpd.conf file was initially only R/W by the root user, and no other users or groups had any privileges. To start the agent, I run the following init script from the command line: sudo /etc/init.d/snmpd start Even

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-05 Thread Robert Story
On Mon, 5 Dec 2011 14:53:47 + Todd A. wrote: NTA You're right, Robert. The agent is running as an unprivileged user. The NTA snmpd.conf file was initially only R/W by the root user, and no other NTA users or groups had any privileges. NTA NTA To start the agent, I run the following init

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-02 Thread Newton, Todd A.
Niels-- Hi. These are the OS provided versions. I am running Linux Ubuntu 10.4 and 11.4. These were installed via apt-get from the command line. I just checked a Windows agent that I built from source. It is running version 5.6, and this problem does not exist on that agent. Writing a '1'

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-02 Thread Dave Shield
    [ First - *please* don't mail me privately, without copying any responses to the mailing list.  I don't have the time     or inclination to offer private, unpaid, SNMP consultancy.     Keep discussions to the list, where others can both learn     and offer advice.  Thanks.   ] On 29 November

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-02 Thread Newton, Todd A.
I ran the agent by hand with the following: snmpd -f -Le 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:

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-12-02 Thread Newton, Todd A.
Dave-- Problem solved! My snmpd.conf file was only readable to the USER (600). I changed the permissions to make it readable to the GROUP and OTHERS (644), and the problem is now resolved. I guess when the reloading of the config file is happening, it was not doing it as the USER (which in my

setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-11-29 Thread Newton, Todd A.
Hi. I am trying to get snmpd to reload its config file while running in order to avoid having to restart the daemon. I believe that setting a '1' to the UCD-SNMP-MIB::versionUpdateConfig.0 variable is supposed to do this. I can successfully set this variable to a '1' (and I get a successful

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-11-29 Thread Dave Shield
On 29 November 2011 17:18, Newton, Todd A. tnew...@swri.org wrote: Hi.  I am trying to get snmpd to reload its config file while running in order to avoid having to restart the daemon.  I believe that setting a '1' to the UCD-SNMP-MIB::versionUpdateConfig.0 variable is supposed to do this.  I

Re: setting UCD-SNMP-MIB::versionUpdateConfig.0 to '1' causes snmpd to hang

2011-11-29 Thread Niels Baggesen
Den 29-11-2011 18:18, Newton, Todd A. skrev: I have had the same result on multiple linux machines, some running v5.4.2.1 and others v5.4.3. Is this OS provided packages, or are these versions vanilla releases from the project? /Niels -- Niels Baggesen - @home - Århus - Denmark -