Threshold can be set to any value. (e.g: 11999999999999999999999999999999999999). No limit or restriction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aodh |
Incomplete
|
Undecided
|
Vishakha Agarwal |
Bug Description
Release: Stable Newton
Ubuntu 16.04
Environment for NFV
Threshold can be set of any of value. (e.g: 119999999999999
root@node-1:~# aodh alarm create --name mack --type threshold --meter-name cpu_util --alarm-action http://
+------
| Field | Value |
+------
| alarm_actions | [u'http://
| alarm_id | ff352d48-
| comparison_operator | eq |
| description | Alarm when cpu_util is eq a avg of 2e+36 over 60 seconds |
| enabled | True |
| evaluation_periods | 1 |
| exclude_outliers | False |
| insufficient_
| meter_name | cpu_util |
| name | mack |
| ok_actions | [] |
| period | 60 |
| project_id | 9a036d420925419
| query | |
| repeat_actions | False |
| severity | low |
| state | alarm |
| state_timestamp | 2017-12-
| statistic | avg |
| threshold | 2e+36 |
| time_constraints | [] |
| timestamp | 2017-12-
| type | threshold |
| user_id | 4f40ae325991476
+------
Changed in aodh: | |
assignee: | nobody → Manik Bindlish (manikbindlish) |
Changed in aodh: | |
assignee: | Manik Bindlish (manikbindlish) → Vishakha Agarwal (vishakha.agarwal) |
how would you enforce a restriction? a threshold can be any value depending on context.