Hello.
I try to set up alarm such as:
openstack alarm create --type prometheus --type prometheus --name memory_high_alarm --query 'memory_usage{resource_id="21d0792e-2d01-4df9-958a-d9018d13207f"}' --threshold 10
I use ceilometer with prometheus backend but when it shows:
+---------------------------+------------------------------------------------------------------+
| Field | Value |
+---------------------------+------------------------------------------------------------------+
| alarm_id | cb7b8d07-0af1-4771-92c8-1a4c2ce4d1d1 |
| name | memory_high_alarm |
| description | prometheus alarm rule |
| enabled | True |
| ok_actions | [] |
| alarm_actions | [] |
| insufficient_data_actions | [] |
| repeat_actions | False |
| type | prometheus |
| time_constraints | [] |
| project_id | 31ef81adc8ad406e9e91e3eb8776c959 |
| user_id | 2e7a252719434d93ae0d270c8753294d |
| timestamp | 2025-09-18T14:10:50.467568 |
| state | insufficient data |
| state_timestamp | 2025-09-18T14:10:50.467568 |
| state_reason | Not evaluated yet |
| severity | low |
| evaluate_timestamp | 2025-09-18T14:10:50.485384 |
| comparison_operator | eq |
| threshold | 10.0 |
| query | memory_usage{resource_id="21d0792e-2d01-4df9-958a-d9018d13207f"} |
+---------------------------+------------------------------------------------------------------+
and in aodh logs:
2025-09-18 21:20:02.442 1079 INFO aodh.evaluator [-] initiating evaluation cycle on 1 alarms
2025-09-18 21:20:02.442 1079 WARNING aodh.evaluator [-] Skipping alarm cb7b8d07-0af1-4771-92c8-1a4c2ce4d1d1, unsupported type: prometheus
I am using openstack 2025.1
I would like to get some guides on this, Many thanks.