Bug 1386792

Summary: Alerts don't send SNMP traps
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ControlAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.3   
Hardware: All   
OS: All   
Whiteboard: alert
Fixed In Version: 5.6.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1381287 Environment:
Last Closed: 2016-11-30 19:57:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1381287    
Bug Blocks:    

Comment 2 CFME Bot 2016-11-03 20:11:27 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/fba0d97578dafa422bca8000ea40c188ff6a11ad

commit fba0d97578dafa422bca8000ea40c188ff6a11ad
Author:     Oleg Barenboim <chessbyte>
AuthorDate: Tue Oct 18 06:07:45 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Nov 3 16:07:24 2016 -0400

    Merge pull request #11988 from lfu/snmp_trap_1381287
    
    Fix the issue that alerts don't send SNMP traps.
    (cherry picked from commit f62e14ec595b242db2a53cb910b6708049c1bb36)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1386792

 app/models/miq_snmp.rb       | 18 +++++++++---------
 spec/models/miq_snmp_spec.rb | 12 ++++++++++++
 2 files changed, 21 insertions(+), 9 deletions(-)
 create mode 100644 spec/models/miq_snmp_spec.rb

Comment 3 CFME Bot 2016-11-03 20:31:16 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/d42b91ef89adec344cdfa751e27cb27afb76129b

commit d42b91ef89adec344cdfa751e27cb27afb76129b
Author:     Oleg Barenboim <chessbyte>
AuthorDate: Thu Oct 20 18:33:20 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Nov 3 16:28:53 2016 -0400

    Merge pull request #12089 from lfu/snmp_trapv1_1381287
    
    Fix the issue that alerts don't send SNMP v1 traps.
    (cherry picked from commit e377ca77d25d38a18b732ea360448bfe0c15e9aa)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1386792

 app/models/miq_snmp.rb       |  6 +++---
 spec/models/miq_snmp_spec.rb | 11 +++++++++++
 2 files changed, 14 insertions(+), 3 deletions(-)

Comment 4 Dmitry Misharov 2016-11-10 08:44:03 UTC
Fixed and verified in 5.6.3.0.20161108115816_66df924. Alerts send snmp traps.

Comment 6 errata-xmlrpc 2016-11-30 19:57:05 UTC
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.

https://rhn.redhat.com/errata/RHSA-2016-2839.html