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, 2020 in OpenStack by akhtar
• 38,260 points
968 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, 2020 by MD
• 95,460 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, 2020 in OpenStack by MD
• 95,460 points
803 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, 2020 in OpenStack by MD
• 95,460 points
1,124 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, 2020 in OpenStack by MD
• 95,460 points
2,889 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, 2020 in OpenStack by anonymous
• 95,460 points
2,643 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, 2020 in OpenStack by MD
• 95,460 points
1,181 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, 2020 in OpenStack by MD
• 95,460 points
2,382 views
0 votes
2 answers
0 votes
1 answer
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, 2020 in OpenStack by MD
• 95,460 points
687 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, 2020 in OpenStack by MD
• 95,460 points
1,041 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP