How can I create an Alarm in OpenStack?

0 votes

I am new in Openstack. Can I create an Alarm for my resources running in Openstack?

Thank You

Mar 20 in OpenStack by akhtar
• 4,500 points
49 views

1 answer to this question.

0 votes

Hi@akhtar,

An example of creating a Gnocchi threshold-oriented alarm, based on an upper bound on the CPU utilization for a particular instance.

$ aodh alarm create \
  --name cpu_hi \
  --type gnocchi_resources_threshold \
  --description 'instance running hot' \
  --metric cpu_util \
  --threshold 70.0 \
  --comparison-operator gt \
  --aggregation-method mean \
  --granularity 600 \
  --evaluation-periods 3 \
  --alarm-action 'log://' \
  --resource-id INSTANCE_ID \
  --resource-type instance

This creates an alarm that will fire when the average CPU utilization for an individual instance exceeds 70% for three consecutive 10 minute periods.

Thank You

answered Mar 20 by MD
• 8,870 points

Related Questions In OpenStack

0 votes
1 answer

How can I create one private subnet in OpenStack?

Hi@Hasid, If you launched all the instances within ...READ MORE

answered Mar 19 in OpenStack by MD
• 8,870 points
20 views
0 votes
1 answer

How can I create one container in OpenStack?

Hi@Hasid, In OpenStack, Swift provides container service. Follow ...READ MORE

answered Mar 19 in OpenStack by MD
• 8,870 points
28 views
0 votes
1 answer

How can I upload an Object in OpenStack?

Hi@Hasid, You can upload your files inside your container. ...READ MORE

answered Mar 19 in OpenStack by MD
• 8,870 points
38 views
0 votes
1 answer

How can I create my own image flavor in OpenStack?

Hi@akhtar, To create image flavor in OpenStack, follow ...READ MORE

answered Mar 20 in OpenStack by MD
• 8,870 points
23 views
0 votes
1 answer

Why I am getting Server Failure in OpenStack ?

Hi@akhtar, We can't say Neutron is the one ...READ MORE

answered Mar 17 in OpenStack by MD
• 8,870 points
21 views
0 votes
1 answer

How can I do SSH inside my instance in OpenStack?

Hi@akhtar, Yes, there is nothing wrong with your ...READ MORE

answered Mar 17 in OpenStack by MD
• 8,870 points
26 views
0 votes
1 answer

How can I create a network in OpenStack automatically?

Hi@akhtar, To create the router automatically, provide the ...READ MORE

answered Mar 18 in OpenStack by MD
• 8,870 points
20 views
0 votes
1 answer

How can I create a public network in OpenStack?

Hi@akhtar,  In OpenStack you are the admin of ...READ MORE

answered Mar 18 in OpenStack by MD
• 8,870 points
18 views