| Summary: | RFE: add SNMP configuration to the TUI | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Perry Myers <pmyers> | |
| Component: | ovirt-node | Assignee: | Joey Boggs <jboggs> | |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 6.3 | CC: | acathrow, bsarathy, cshao, gouyang, jboggs, leiwang, mburns, myllynen, ovirt-bugs, ovirt-maint, sgordon, ycui | |
| Target Milestone: | rc | Keywords: | FutureFeature | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | ovirt-node-2.3.0-7.el6 | Doc Type: | Enhancement | |
| Doc Text: |
The Hypervisor user interface now exposes fields to support the configuration of Simple Network Management Protocol (SNMP) on the host.
|
Story Points: | --- | |
| Clone Of: | 785055 | |||
| : | 795527 (view as bug list) | Environment: | ||
| Last Closed: | 2012-07-19 14:18:55 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | 785055, 798439 | |||
| Bug Blocks: | 748942, 795527, 801056 | |||
|
Description
Perry Myers
2012-02-20 19:08:32 UTC
*** 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 |