Bug 1559399

Summary: Alert count is not incremented for utilization alerts
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: gowtham <gshanmug>
Component: web-admin-tendrl-monitoring-integrationAssignee: Nishanth Thomas <nthomas>
Status: CLOSED ERRATA QA Contact: Filip Balák <fbalak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: dahorak, fbalak, mbukatov, rhs-bugs
Target Milestone: ---   
Target Release: RHGS 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-node-agent-1.6.1-3.el7rhgs, tendrl-commons-1.6.1-3.el7rhgs, tendrl-gluster-integration-1.6.1-3.el7rhgs, tendrl-monitoring-integration-1.6.1-3.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 07:01:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1503137    
Attachments:
Description Flags
Cluster page none

Description gowtham 2018-03-22 13:19:35 UTC
Description of problem:
Currently, all utilization related alerts are raised and handled in the server node itself. When threshold breach cross 75% and above the alert is raised from grafana and the alert is handled and displayed in UI, but alert count for is not incremented. Problem is cluster node alert count needs cluster_id to increment the alert count for particular cluster but monitoring-integration is not passing any cluster_id so unable to increment the count. 

Version-Release number of selected component (if applicable):


How reproducible:
Increase the utilization of volume or brick or CPU or memory or swap to 75% or above, after few seconds alerts, will be raised and displayed in UI but the alert count is not incremented.

Steps to Reproduce:
1.
2.
3.

Actual results:
The alert count does not match with Number of alerts which is displayed in UI

Expected results:
The alert count should match with Number of alerts which is displayed in UI

Additional info:

Comment 4 Filip Balák 2018-05-28 11:58:45 UTC
Cluster level notification counter is incremented by brick utilization alerts but is not incremented by memory and cpu related alerts. --> ASSIGNED

Tested with:
tendrl-ansible-1.5.4-7.el7rhgs.noarch
tendrl-api-1.5.4-4.el7rhgs.noarch
tendrl-api-httpd-1.5.4-4.el7rhgs.noarch
tendrl-commons-1.5.4-9.el7rhgs.noarch
tendrl-grafana-plugins-1.5.4-14.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.5.4-14.el7rhgs.noarch
tendrl-node-agent-1.5.4-16.el7rhgs.noarch
tendrl-notifier-1.5.4-6.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.5.4-6.el7rhgs.noarch

Comment 5 Filip Balák 2018-05-28 11:59:18 UTC
Created attachment 1443120 [details]
Cluster page

Comment 6 gowtham 2018-05-28 12:50:27 UTC
filip CPU, memory, and swap alerts are node related alerts not cluster related alert. Only for cluster-related alerts cluster alert count will be increased. There is big discussion happened for this. https://github.com/Tendrl/documentation/wiki/List-of-Alerts-and-Notifications-in-Tendrl

Comment 9 errata-xmlrpc 2018-09-04 07:01:53 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://access.redhat.com/errata/RHSA-2018:2616