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
• 25,210 points
109 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
• 57,060 points

Related Questions In OpenStack

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
• 57,060 points
92 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
• 57,060 points
161 views
0 votes
1 answer

How to create an image in OpenStack?

Hi@akhtar, Actually this is the fun in OpenStack. ...READ MORE

answered Mar 16 in OpenStack by MD
• 57,060 points
364 views
0 votes
1 answer

How to create an instance in OpenStack?

Hi@akhtar, When we try to launch an instance ...READ MORE

answered Mar 17 in OpenStack by anonymous
• 57,060 points
145 views
0 votes
1 answer

error: server error. Is Neutron not working properly?

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

answered Mar 17 in OpenStack by MD
• 57,060 points
97 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
• 57,060 points
223 views
0 votes
2 answers
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
• 57,060 points
54 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
• 57,060 points
76 views