Bug 1041079 - Alert with measuremnt value range condition does not get fired when data is pushed through REST api
Summary: Alert with measuremnt value range condition does not get fired when data is p...
Keywords:
Status: CLOSED DUPLICATE of bug 1035890
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Monitoring - Alerts, REST
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: JON 3.3.0
Assignee: Lukas Krejci
QA Contact: Sunil Kondkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:35 UTC by Libor Zoubek
Modified: 2015-11-02 00:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-28 12:11:43 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1035890 0 unspecified CLOSED Alert with trait value change condition does not get fired when data is pushed through REST api 2021-02-22 00:41:40 UTC

Internal Links: 1035890

Description Libor Zoubek 2013-12-12 13:35:00 UTC
Description of problem:

Alert with measuremnt value range condition does not get fired when data is pushed through REST api. This may apply to other measurement-related condition types.


Version-Release number of selected component (if applicable):
JON 3.2.GA

How reproducible: always


Steps to Reproduce:
1. create syntetic platform via rest
2. choose a trait (ie. Native.MemoryInfo.free)
3. create alert def with measurementValueRagne condition type
4. push measurement data using rest api so condition for your alert is met

Actual results:

alert does not get fired

Expected results:

alert gets fired

Comment 1 Libor Zoubek 2013-12-12 13:42:15 UTC
You can run test to detect/verify this bug:

go through https://github.com/RedHatQE/jon-tests/blob/master/alerts/README.md

git clone https://github.com/RedHatQE/jon-tests.git
cd jon-tests
nosetests -a "single,numeric,range"

Comment 5 Sunil Kondkar 2014-02-18 12:19:24 UTC
Additional Info:
Added a similar test for measurementValueChange condition type (another test for measurement-related condition type. Added this bug to the bug decorator in the test as alert is not fired when metrics are pushed through REST api.)

To run the test:
git clone https://github.com/RedHatQE/jon-tests.git
cd jon-tests/alerts
nosetests -a "single,numeric,change"

Comment 6 Lukas Krejci 2014-08-28 12:11:43 UTC
This has the same underlying cause as BZ 1035890. Closing.

*** This bug has been marked as a duplicate of bug 1035890 ***


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