Bug 1559399 - Alert count is not incremented for utilization alerts
Summary: Alert count is not incremented for utilization alerts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-monitoring-integration
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.4.0
Assignee: Nishanth Thomas
QA Contact: Filip Balák
URL:
Whiteboard:
Depends On:
Blocks: 1503137
TreeView+ depends on / blocked
 
Reported: 2018-03-22 13:19 UTC by gowtham
Modified: 2018-09-04 07:02 UTC (History)
4 users (show)

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:
Clone Of:
Environment:
Last Closed: 2018-09-04 07:01:53 UTC
Embargoed:


Attachments (Terms of Use)
Cluster page (52.88 KB, image/png)
2018-05-28 11:59 UTC, Filip Balák
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl commons issues 878 0 None None None 2018-03-26 14:19:47 UTC
Github Tendrl gluster-integration issues 589 0 None None None 2018-03-26 14:19:26 UTC
Github Tendrl monitoring-integration issues 379 0 None None None 2018-03-26 14:18:56 UTC
Github Tendrl node-agent issues 746 0 None None None 2018-03-26 14:18:30 UTC
Red Hat Product Errata RHSA-2018:2616 0 None None None 2018-09-04 07:02:56 UTC

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


Note You need to log in before you can comment on or make changes to this bug.