Bug 1656057 - Utilization alerts are not working
Summary: Utilization alerts are not working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-notifier
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.4.z Batch Update 2
Assignee: gowtham
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-04 14:57 UTC by Filip Balák
Modified: 2022-07-09 10:16 UTC (History)
7 users (show)

Fixed In Version: tendrl-monitoring-integration-1.6.3-16.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-17 17:06:56 UTC
Embargoed:


Attachments (Terms of Use)
Memory_utilization (17.80 KB, image/png)
2018-12-10 05:26 UTC, gowtham
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl monitoring-integration issues 580 0 None None None 2018-12-05 14:11:54 UTC
Red Hat Product Errata RHSA-2018:3829 0 None None None 2018-12-17 17:07:00 UTC

Description Filip Balák 2018-12-04 14:57:29 UTC
Description of problem:
If cpu or memory of host is utilized beyond 80% then there is no alert generated.

Version-Release number of selected component (if applicable):
tendrl-ansible-1.6.3-10.el7rhgs.noarch
tendrl-api-1.6.3-8.el7rhgs.noarch
tendrl-api-httpd-1.6.3-8.el7rhgs.noarch
tendrl-commons-1.6.3-13.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-15.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-15.el7rhgs.noarch
tendrl-node-agent-1.6.3-11.el7rhgs.noarch
tendrl-notifier-1.6.3-4.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-14.el7rhgs.noarch

How reproducible:
100%

Steps to Reproduce:
1. Import cluster into WA.
2. Setup alerting (mail, snmp) 
3. Log into some host and utilize its cpu and memory with `stress` command [1].
4. Check for alerts in mail, snmp and UI

Actual results:
There are no alerts.

Expected results:
There should be alerts when utilization breach warning and critical utilization threshold.

Additional info:
[1] https://github.com/usmqe/usmqe-testdoc/blob/master/web/alerting/utilization_host.rst

Comment 2 Filip Balák 2018-12-05 11:50:39 UTC
Cpu utilization was seen working in version 3.4.1. In 3.4.2 it is broken.
Memory utilization was seen working in 3.3.1. In 3.4.0 it was broken.

Comment 4 gowtham 2018-12-05 13:49:24 UTC
it is the regression part of http://bugzilla.redhat.com/show_bug.cgi?id=1590416 fix I did some small mistake.

Comment 5 gowtham 2018-12-05 14:11:55 UTC
PR under review: https://github.com/Tendrl/monitoring-integration/pull/581

Comment 8 Elena Bondarenko 2018-12-07 11:14:34 UTC
With tendrl-monitoring-integration-1.6.3-16.el7rhgs.noarch cpu utilization alerts started to appear in UI, but memory utilization alerts still aren't working.

Comment 11 gowtham 2018-12-10 04:54:35 UTC
Hi Elena Bondarenko,
    There is different section in memory utilization, you cna see that in the image which you shared, actually alert will raise when used memory cross 75, looks like here used is  below 20%. So alert wont raised.

Comment 12 gowtham 2018-12-10 04:57:28 UTC
i can see memory alerts with tendrl-monitoring-integration-1.6.3-16.el7rhgs.noarch in my machine

Comment 13 gowtham 2018-12-10 05:26:40 UTC
Created attachment 1512949 [details]
Memory_utilization

Comment 14 Elena Bondarenko 2018-12-10 09:59:23 UTC
This is new behavior comparing to 3.3.1, so another BZ has been opened by Filip: https://bugzilla.redhat.com/show_bug.cgi?id=1657680
Apart from that, everything works as expected.

Comment 15 errata-xmlrpc 2018-12-17 17:06:56 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:3829


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