Hide Forgot
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
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"
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"
This has the same underlying cause as BZ 1035890. Closing. *** This bug has been marked as a duplicate of bug 1035890 ***