User Tools

Site Tools


uls:testsuite:version_180:notifications

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uls:testsuite:version_180:notifications [2014-03-21 11:31]
uls [group based limits, numeric value, 24h, all priority levels with reset by info]
uls:testsuite:version_180:notifications [2014-04-07 14:45] (current)
uls [group based limits, numeric value, 24h, all priority levels with reset by info]
Line 1117: Line 1117:
 |- |-
 | NTFY 036 | NTFY 036
-| manual limits, regular expression + every value: deactivation works+| manual limits, regular expression + every value: deactivation ​during defined days of month works 
 +| style="​color:​green"​ | passed 
 +|  
 +|} 
 + 
 +After the defined days of month, the notification must be fired again. 
 + 
 +{| 
 +! Test 
 +! Description 
 +! Result 
 +! Notes 
 +|- 
 +| NTFY 037 
 +| manual limits, regular expression + every value: active outside defined days of month works
 | style="​color:​green"​ | passed | style="​color:​green"​ | passed
  
Line 1123: Line 1137:
  
 Go to //​administration -> monitoring suspension -> Woodlark// and Go to //​administration -> monitoring suspension -> Woodlark// and
-remove the entry for "​detail"​. ​+remove the entry for "​detail" ​and the entry for "​unit"​  
 +(which is a blank and therefor, obviously, not visible).
  
 As user "​SystematicGuy"​ verify, that the deactivation works. ​ As user "​SystematicGuy"​ verify, that the deactivation works. ​
Line 1136: Line 1151:
 ! Notes ! Notes
 |- |-
-| NTFY 037+| NTFY 038
 | manual limits, substring + collect: deactivation works | manual limits, substring + collect: deactivation works
-| style="​color:​green"​ | FIXME +| style="​color:​green"​ | passed 
-notifications are still fired!+
 |} |}
  
Line 1150: Line 1165:
 (These tests are: NTFY 04x)  (These tests are: NTFY 04x) 
  
-As user "​TheSpyder"​ set group-auto-limits for group "​Databasics"​,  +As user "​TheSpyder"​ set group-auto-limits for group "​Databasics"​ on:
-on:+
   * 300 Continuous Daily Values ​   * 300 Continuous Daily Values ​
     * 320 Float Values     * 320 Float Values
Line 1255: Line 1269:
   * go to //main menu -> yesterday ->  ULS -> testsrv11 -> @notifications -> limits//   * go to //main menu -> yesterday ->  ULS -> testsrv11 -> @notifications -> limits//
  
-There should be 8 entries (timestamp and uttid will obviously be different):+There should be 8 entries (timestamp and uttid will obviously be different):
  
 {| {|
Line 1514: Line 1528:
 | 6203 | 6203
 |} |}
- 
  
  
Line 1528: Line 1541:
  
 |} |}
- 
  
 == (C) Changing the definition == == (C) Changing the definition ==
  
-:TODO:+As user "​TheSpyder"​ change the group-auto-limits for group "​Databasics"​: 
 +  * go to //​administration -> limits -> group autolimits -> Databasics//​ 
 + 
 +{| 
 +! detail: 
 +|  
 +|- 
 +! unit: 
 +| V 
 +|- 
 +! average 
 +| last 
 +|- 
 +! over 
 +| 1 
 +|- 
 +! compare 
 +| > 
 +|- 
 +! info 
 +| 100 
 +|- 
 +! warn 
 +| 130.0 
 +|- 
 +! error 
 +| 1.4975e02 
 +|} 
 + 
 +As user "​TheSpyder"​ verify, that the change of the definition is properly propagated:​ 
 +  * go to //main menu -> yesterday -> ULS -> testsrv11 -> @notifications -> limits// 
 + 
 +And verify that the limit now fires only 7 notifications per day: 
 + 
 +  * 03:54 INFO, 04:34 WARN, 04:54 ERROR 
 +  * 17:04 INFO, 17:24 WARN, 17:44 ERROR 
 +  * 22:54 INFO 
 + 
 +{| 
 +! timestamp 
 +! URL 
 +! destination 
 +! level 
 +! condition violation 
 +! message 
 +! uttid 
 +|- 
 +| 2014-04-06 22:54:04 
 +| 300 Continuous Daily Values 320 Float Values Voltage 
 +| UTT:UTT Databasics :​Databasics 
 +| INFO 
 +| 105.132059 > 100 
 +|  
 +<​file>​ 
 +MSG 040: limit notification for [ULS - testsrv11 - 300 Continuous Daily Values - 320 Float Values - Voltage] triggered. 
 +Value [105.132059 '​V'​],​ [2014-04-06 22:​50:​00]. 
 +Determined as [last] over [1] values, compared by [>] with limit [100]. 
 +Last value: [1.051320591e+02],​ [2014-04-06 22:50:00], timestamp when saved: [2014-04-06 22:​50:​03]. 
 +Previous value: [9.902855994e+01],​ [2014-04-06 22:​40:​00]. 
 + 
 +average_of....:​ 50.00000000170834 
 +count_of......:​ 144 
 +dev_of........:​ 93.59935449150662 
 +differ_of.....:​ 1 
 +first_of......:​ 1.109708044e+02 
 +grad_of.......:​ -1.6327622195900962 
 +last_of.......:​ 1.051320591e+02 
 +last-first_of.:​ -5.838745299999999 
 +max_of........:​ 174.636748 
 +max-min_of....:​ 271.23928838 
 +min_of........:​ -96.60254038 
 +prediction....:​ 
 +sum_of........:​ 7200.000000246002 
 +value_of......:​ 1.051320591e+02 
 +unit_of.......:​ '​V'​ 
 +</​file>​ 
 +| 6251 
 +|- 
 +| 2014-04-06 17:44:03 
 +| 300 Continuous Daily Values 320 Float Values Voltage 
 +| UTT:UTT Databasics :​Databasics 
 +| ERROR 
 +| 157.2056 > 1.4975e02 
 +|  
 +<​file>​ 
 +MSG 040: limit notification for [ULS - testsrv11 - 300 Continuous Daily Values - 320 Float Values - Voltage] triggered. 
 +Value [157.2056 '​V'​],​ [2014-04-06 17:​40:​00]. 
 +Determined as [last] over [1] values, compared by [>] with limit [1.4975e02]. 
 +Last value: [1.572055995e+02],​ [2014-04-06 17:40:00], timestamp when saved: [2014-04-06 17:​40:​02]. 
 +Previous value: [1.478634588e+02],​ [2014-04-06 17:​30:​00]. 
 + 
 +average_of....:​ 50.00000000170835 
 +count_of......:​ 144 
 +dev_of........:​ 93.59935449150662 
 +differ_of.....:​ 1 
 +first_of......:​ 1.646120778e+02 
 +grad_of.......:​ -8.563189478170608 
 +last_of.......:​ 1.572055995e+02 
 +last-first_of.:​ -7.406478300000003 
 +max_of........:​ 174.636748 
 +max-min_of....:​ 271.23928838 
 +min_of........:​ -96.60254038 
 +prediction....:​ 
 +sum_of........:​ 7200.000000246003 
 +value_of......:​ 1.572055995e+02 
 +unit_of.......:​ '​V'​ 
 +</​file>​ 
 +| 6239 
 +|- 
 +| 2014-04-06 17:24:03 
 +| 300 Continuous Daily Values 320 Float Values Voltage 
 +| UTT:UTT Databasics :​Databasics 
 +| WARN 
 +| 136.715888 > 130.0 
 +|  
 +<​file>​ 
 +MSG 040: limit notification for [ULS - testsrv11 - 300 Continuous Daily Values - 320 Float Values - Voltage] triggered. 
 +Value [136.715888 '​V'​],​ [2014-04-06 17:​20:​00]. 
 +Determined as [last] over [1] values, compared by [>] with limit [130.0]. 
 +Last value: [1.367158878e+02],​ [2014-04-06 17:20:00], timestamp when saved: [2014-04-06 17:​20:​03]. 
 +Previous value: [1.239369642e+02],​ [2014-04-06 17:​10:​00]. 
 + 
 +average_of....:​ 50.00000000170834 
 +count_of......:​ 144 
 +dev_of........:​ 93.59935449150665 
 +differ_of.....:​ 1 
 +first_of......:​ 1.478634588e+02 
 +grad_of.......:​ -9.275269159740617 
 +last_of.......:​ 1.367158878e+02 
 +last-first_of.:​ -11.147571 
 +max_of........:​ 174.636748 
 +max-min_of....:​ 271.23928838 
 +min_of........:​ -96.60254038 
 +prediction....:​ 
 +sum_of........:​ 7200.000000246002 
 +value_of......:​ 1.367158878e+02 
 +unit_of.......:​ '​V'​ 
 +</​file>​ 
 +| 6237 
 +|- 
 +| 2014-04-06 17:04:04 
 +| 300 Continuous Daily Values 320 Float Values Voltage 
 +| UTT:UTT Databasics :​Databasics 
 +| INFO 
 +| 109.739874 > 100 
 +|  
 +<​file>​ 
 +MSG 040: limit notification for [ULS - testsrv11 - 300 Continuous Daily Values - 320 Float Values - Voltage] triggered. 
 +Value [109.739874 '​V'​],​ [2014-04-06 17:​00:​00]. 
 +Determined as [last] over [1] values, compared by [>] with limit [100]. 
 +Last value: [1.097398738e+02],​ [2014-04-06 17:00:00], timestamp when saved: [2014-04-06 17:​00:​04]. 
 +Previous value: [9.437107032e+01],​ [2014-04-06 16:​50:​00]. 
 + 
 +average_of....:​ 50.00000000170834 
 +count_of......:​ 144 
 +dev_of........:​ 93.59935449150665 
 +differ_of.....:​ 1 
 +first_of......:​ 1.239369642e+02 
 +grad_of.......:​ -9.83311846496144 
 +last_of.......:​ 1.097398738e+02 
 +last-first_of.:​ -14.197090400000008 
 +max_of........:​ 174.636748 
 +max-min_of....:​ 271.23928838 
 +min_of........:​ -96.60254038 
 +prediction....:​ 
 +sum_of........:​ 7200.000000246001 
 +value_of......:​ 1.097398738e+02 
 +unit_of.......:​ '​V'​ 
 +</​file>​ 
 +| 6236 
 +|- 
 +| 2014-04-06 04:54:04 
 +| 300 Continuous Daily Values 320 Float Values Voltage 
 +| UTT:UTT Databasics :​Databasics 
 +| ERROR 
 +| 154.51223 > 1.4975e02 
 +|  
 +<​file>​ 
 +MSG 040: limit notification for [ULS - testsrv11 - 300 Continuous Daily Values - 320 Float Values - Voltage] triggered. 
 +Value [154.51223 '​V'​],​ [2014-04-06 04:​50:​00]. 
 +Determined as [last] over [1] values, compared by [>] with limit [1.4975e02]. 
 +Last value: [1.545122302e+02],​ [2014-04-06 04:50:00], timestamp when saved: [2014-04-06 04:​50:​03]. 
 +Previous value: [1.465075342e+02],​ [2014-04-06 04:​40:​00]. 
 + 
 +average_of....:​ 50.00000000170835 
 +count_of......:​ 144 
 +dev_of........:​ 93.59935449150662 
 +differ_of.....:​ 1 
 +first_of......:​ 1.615036828e+02 
 +grad_of.......:​ 5.24105853270564 
 +last_of.......:​ 1.545122302e+02 
 +last-first_of.:​ -6.991452600000002 
 +max_of........:​ 174.636748 
 +max-min_of....:​ 271.23928838 
 +min_of........:​ -96.60254038 
 +prediction....:​ 
 +sum_of........:​ 7200.000000246003 
 +value_of......:​ 1.545122302e+02 
 +unit_of.......:​ '​V'​ 
 +</​file>​ 
 +| 6207 
 +|- 
 +| 2014-04-06 04:34:03 
 +| 300 Continuous Daily Values 320 Float Values Voltage 
 +| UTT:UTT Databasics :​Databasics 
 +| WARN 
 +| 137.765818 > 130.0 
 +|  
 +<​file>​ 
 +MSG 040: limit notification for [ULS - testsrv11 - 300 Continuous Daily Values - 320 Float Values - Voltage] triggered. 
 +Value [137.765818 '​V'​],​ [2014-04-06 04:​30:​00]. 
 +Determined as [last] over [1] values, compared by [>] with limit [130.0]. 
 +Last value: [1.377658179e+02],​ [2014-04-06 04:30:00], timestamp when saved: [2014-04-06 04:​30:​03]. 
 +Previous value: [1.285745500e+02],​ [2014-04-06 04:​20:​00]. 
 + 
 +average_of....:​ 50.00000000170835 
 +count_of......:​ 144 
 +dev_of........:​ 93.59935449150662 
 +differ_of.....:​ 1 
 +first_of......:​ 1.465075342e+02 
 +grad_of.......:​ 4.543039577482396 
 +last_of.......:​ 1.377658179e+02 
 +last-first_of.:​ -8.741716300000007 
 +max_of........:​ 174.636748 
 +max-min_of....:​ 271.23928838 
 +min_of........:​ -96.60254038 
 +prediction....:​ 
 +sum_of........:​ 7200.000000246003 
 +value_of......:​ 1.377658179e+02 
 +unit_of.......:​ '​V'​ 
 +</​file>​ 
 +| 6205 
 +|- 
 +| 2014-04-06 03:54:04 
 +| 300 Continuous Daily Values 320 Float Values Voltage 
 +| UTT:UTT Databasics :​Databasics 
 +| INFO 
 +| 101.173859 > 100 
 +|  
 +<​file>​ 
 +MSG 040: limit notification for [ULS - testsrv11 - 300 Continuous Daily Values - 320 Float Values - Voltage] triggered. 
 +Value [101.173859 '​V'​],​ [2014-04-06 03:​50:​00]. 
 +Determined as [last] over [1] values, compared by [>] with limit [100]. 
 +Last value: [1.011738587e+02],​ [2014-04-06 03:50:00], timestamp when saved: [2014-04-06 03:​50:​02]. 
 +Previous value: [9.299683151e+01],​ [2014-04-06 03:​40:​00]. 
 + 
 +average_of....:​ 50.00000000170837 
 +count_of......:​ 144 
 +dev_of........:​ 93.59935449150662 
 +differ_of.....:​ 1 
 +first_of......:​ 1.100000000e+02 
 +grad_of.......:​ 3.516724206047228 
 +last_of.......:​ 1.011738587e+02 
 +last-first_of.:​ -8.826141300000003 
 +max_of........:​ 174.636748 
 +max-min_of....:​ 271.23928838 
 +min_of........:​ -96.60254038 
 +prediction....:​ 
 +sum_of........:​ 7200.000000246005 
 +value_of......:​ 1.011738587e+02 
 +unit_of.......:​ '​V'​ 
 +</​file>​ 
 +| 6203 
 +|} 
 + 
 +{| 
 +! Test 
 +! Description 
 +! Result 
 +! Notes 
 +|- 
 +| NTFY 047 
 +| group based limits, numeric value, 24h, all priority levels with reset by "​info":​ changed definition 
 +| style="​color:​green"​ | passed 
 +|  
 +|}
  
  
 == (D) Disabling the definition == == (D) Disabling the definition ==
  
-  ​* go to //main menu -> today ->  ​ULS ​-> testsrv12 -> 200 Continuous Hourly Values -> 210 Integer Values// +As user "​TheSpyder"​ change the group-auto-limits for group "​Databasics":​ 
-  * click on  {{:​uls:​testsuite:​version_180:​limits_button.png|}} +  ​* go to //administration ​-> limits ​-> group auto limits ​-> Databasics// 
-  * deactivate the definition+  * deactivate the definition ​containing "MSG 040" 
  
-Verify that no more notifications are fired:+Verify ​the next day that no more notifications are fired:
  
-  * go to //main menu -> today ->  ULS -> testsrv12 ​-> @notifications -> limits// +  * go to //main menu -> yesterday ​-> ULS -> testsrv11 ​-> @notifications -> limits//
-  * remember: three notifications per hour (xx:04, xx:24, xx:44)+
  
 {| {|
Line 1552: Line 1839:
 ! Notes ! Notes
 |- |-
-| NTFY 046+| NTFY 048
 | group based limits, numeric value, 24h, all priority levels with reset by "​info":​ notifications disabled | group based limits, numeric value, 24h, all priority levels with reset by "​info":​ notifications disabled
 | style="​color:​green"​ | :TODO: | style="​color:​green"​ | :TODO:
uls/testsuite/version_180/notifications.1395397867.txt.gz · Last modified: 2014-03-21 11:31 by uls