Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

create ceilometer alarm for one specific instanace

Hello I have 5 instance in my system. Can I create an alarm for just one specific instance?? For example if I have to create an alarm I will be using

usage: ceilometer alarm-create --name <NAME> [--project-id <PROJECT_ID>]
                               [--user-id <USER_ID>]
                               [--description <DESCRIPTION>] [--state <STATE>]
                               [--enabled {True|False}]
                               [--alarm-action <Webhook URL>]
                               [--ok-action <Webhook URL>]
                               [--insufficient-data-action <Webhook URL>]
                               [--repeat-actions {True|False}]
                               [--period <PERIOD>]
                               [--evaluation-periods <COUNT>] --meter-name
                               <METRIC> [--statistic <STATISTIC>]
                               [--comparison-operator <OPERATOR>] --threshold
                               <THRESHOLD>
                               [--matching-metadata <Matching Metadata>]

But I am not sure which of these attribute will specify the instance id??? Can anybody help me?

create ceilometer alarm for one specific instanace

Hello I have 5 instance in my system. Can I create an alarm for just one specific instance?? For example if I have to create an alarm I will be using

usage: ceilometer alarm-create --name <NAME> [--project-id <PROJECT_ID>]
                               [--user-id <USER_ID>]
                               [--description <DESCRIPTION>] [--state <STATE>]
                               [--enabled {True|False}]
                               [--alarm-action <Webhook URL>]
                               [--ok-action <Webhook URL>]
                               [--insufficient-data-action <Webhook URL>]
                               [--repeat-actions {True|False}]
                               [--period <PERIOD>]
                               [--evaluation-periods <COUNT>] --meter-name
                               <METRIC> [--statistic <STATISTIC>]
                               [--comparison-operator <OPERATOR>] --threshold
                               <THRESHOLD>
                               [--matching-metadata <Matching Metadata>]

But I am not sure which of these attribute will specify the instance id??? Can anybody help me?