Hide Forgot
+++ This bug was initially created as a clone of Bug #785055 +++ Description of problem: There is currently no way to configure SNMP password in the TUI. It's only available through autoinstall and through dropping to a shell and manually running the old bash script. Version-Release number of selected component (if applicable): 2.2.1 --- Additional comment from pmyers on 2012-02-20 14:07:49 EST --- In addition, we need to remove the outdated ovirt-config-snmp script (and all other o-c-* scripts that have been replaced by .py implementations) So this bug will combine: * removing old o-c-* scripts * exposing snmp.py configuration through the TUI including the ability to set SNMP 'root' password
*** Bug 690679 has been marked as a duplicate of this bug. ***
*** Bug 798439 has been marked as a duplicate of this bug. ***
remove double spacing in list box menu as discussed to free up space http://gerrit.ovirt.org/2397 Joey, this should also remove the o-c-snmp script as well
patch does indeed remove o-c-snmp
I have to re-assign this bug on build rhev-hypervisor6-6.3-20120307.2.el6. Set snmp enabled and passwd by TUI. The following issue need to be fixed: 1) # snmpwalk -v 3 -u root -a SHA -A redhat -x AES -X redhat -c public 10.66.11.190 sysDescr No log handling enabled - using stderr logging Error: passphrase chosen is below the length requirements of the USM (min=8). snmpwalk: (The supplied password length is too short.) Error generating a key (Ku) from the supplied authentication pass phrase. Excepted result: In TUI, There should prompt user that the password length should more than or equals to 8. 2) After I set SNMP root password to 123456789... # snmpwalk -v 3 -u root -l authPriv -a SHA -A 123456789 -x AES -X 123456789 -c public 10.66.11.190 sysDescr No log handling enabled - using stderr logging snmpwalk: Unknown user name (Sub-id not found: (top) -> sysDescr) # cat /etc/sysconfig/snmpd # snmpd command line options # OPTIONS="-LS0-6d -Lf /dev/null -p /var/run/snmpd.pid" createUser root SHA redhat AEScreateUser root SHA 123456789 AES[root@localhost admin]# 3) # service snmpd restart /etc/sysconfig/snmpd: line 3: createUser: command not found Stopping snmpd: [ OK ] Starting snmpd: [ OK ] There should not display createUser info at here.
*** Bug 805574 has been marked as a duplicate of this bug. ***
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The Hypervisor user interface now exposes fields to support the configuration of Simple Network Management Protocol (SNMP) on the host.
tested on 6.3-20120411.1, the service snmpd is not running after enable it on TUI. [root@localhost admin]# service snmpd status snmpd dead but subsys locked [root@localhost admin]# cat /etc/sysconfig/snmpd # snmpd command line options # OPTIONS="-LS0-6d -Lf /dev/null -p /var/run/snmpd.pid" OPTIONS="-v -Lf /dev/null" [root@localhost admin]# cat /etc/snmp/snmpd.conf master agentx dontLogTCPWrappersConnects yes rwuser root auth .1 createUser root SHA AES [root@localhost admin]#
tested on rhevh-6.3-20120426.2 build, the main function works now: 1. after enable snmp on tui, the service is running. [root@localhost admin]# service snmpd status snmpd (pid 7881) is running... 2. $ snmpwalk -v3 -u root -l authPriv -a SHA -A redhat123 -x AES -X redhat123 10.66.11.120 sysDescr SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.32-268.el6.x86_64 #1 SMP Tue Apr 24 16:27:49 EDT 2012 x86_64 But there two additional things need to be handle: 1. if disable the snmp on tui, after apply, the snmp checkbox is still selected, it should be unselected. 2. after change the snmp root password, although the change reflect in local file, but it failed to auth with the new passwd. in below lines you can find it still works with the old passwd "redhat123", new passwd "redhat12" failed to auth. [root@localhost admin]# cat /etc/snmp/snmpd.conf master agentx dontLogTCPWrappersConnects yes rwuser root auth .1 createUser root SHA redhat12 AES [root@localhost admin]# snmpwalk -v3 -u root -l authPriv -a SHA -A redhat123 -x AES -X redhat123 10.66.11.120 sysDescr SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.32-268.el6.x86_64 #1 SMP Tue Apr 24 16:27:49 EDT 2012 x86_64 [root@localhost admin]# snmpwalk -v3 -u root -l authPriv -a SHA -A redhat12 -x AES -X redhat12 10.66.11.120 sysDescr No log handling enabled - turning on stderr logging snmpwalk: Authentication failure (incorrect password, community or key) (Sub-id not found: (top) -> sysDescr)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0741.html