이 콘텐츠는 선택한 언어로 제공되지 않습니다.

2.31. openstack alarm create


usage: openstack alarm create [-h] [-f {json,shell,table,value,yaml}]
                              [-c COLUMN] [--max-width <integer>] [--noindent]
                              [--prefix PREFIX] --name <NAME> -t <TYPE>
                              [--project-id <PROJECT_ID>]
                              [--user-id <USER_ID>]
                              [--description <DESCRIPTION>] [--state <STATE>]
                              [--severity <SEVERITY>] [--enabled {True|False}]
                              [--alarm-action <Webhook URL>]
                              [--ok-action <Webhook URL>]
                              [--insufficient-data-action <Webhook URL>]
                              [--time-constraint <Time Constraint>]
                              [--repeat-actions {True|False}]
                              [--query <QUERY>]
                              [--comparison-operator <OPERATOR>]
                              [--evaluation-periods <EVAL_PERIODS>]
                              [--threshold <THRESHOLD>] [--metric <METRIC>]
                              [-m <METER NAME>] [--period <PERIOD>]
                              [--statistic <STATISTIC>]
                              [--event-type <EVENT_TYPE>]
                              [--granularity <GRANULARITY>]
                              [--aggregation-method <AGGR_METHOD>]
                              [--resource-type <RESOURCE_TYPE>]
                              [--resource-id <RESOURCE_ID>]
                              [--metrics <METRICS>]
                              [--composite-rule <COMPOSITE_RULE>]
Copy to Clipboard Toggle word wrap
Create an alarm

Optional arguments

-h, --help


        show this help message and exit

--name <NAME>


        Name of the alarm

-t <TYPE>, --type <TYPE>


      Type of alarm, should be one of: threshold, event,
      composite, gnocchi_resources_threshold,
      gnocchi_aggregation_by_metrics_threshold,
      gnocchi_aggregation_by_resources_threshold.

--project-id <PROJECT_ID>


      Project to associate with alarm (configurable by admin
      users only)

--user-id <USER_ID>


        User to associate with alarm (configurable by admin
      users only)

--description <DESCRIPTION>


      Free text description of the alarm

--state <STATE>


        State of the alarm, one of: ['ok', 'alarm',
      'insufficient data']

--severity <SEVERITY>


      Severity of the alarm, one of: ['low', 'moderate',
      'critical']

--enabled {True|False}


      True if alarm evaluation is enabled

--alarm-action <Webhook URL>


      URL to invoke when state transitions to alarm. May be
      used multiple times

--ok-action <Webhook URL>


      URL to invoke when state transitions to OK. May be
      used multiple times

--insufficient-data-action <Webhook URL>


      URL to invoke when state transitions to insufficient
      data. May be used multiple times

--time-constraint <Time Constraint>


      Only evaluate the alarm if the time at evaluation is
      within this time constraint. Start point(s) of the
      constraint are specified with a cron expression,
      whereas its duration is given in seconds. Can be
      specified multiple times for multiple time
      constraints, format is: name=<CONSTRAINT_NAME>;start=<
      CRON>;duration=<SECONDS>;[description=<DESCRIPTION>;[t
      imezone=<IANA Timezone>]]

--repeat-actions {True|False}


      True if actions should be repeatedly notified while
      alarm remains in target state

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동