Skip to content

Instantly share code, notes, and snippets.

@iokiwi
Created January 8, 2020 02:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iokiwi/0e794b4c35a81432a1bbcbc46535cbcf to your computer and use it in GitHub Desktop.
Save iokiwi/0e794b4c35a81432a1bbcbc46535cbcf to your computer and use it in GitHub Desktop.
openstack alarm create \
--name mytestalarm \
--type threshold \
--threshold 5.0 \
--meter-name cpu_util \
--period 60 \
--statistic avg \
--evaluation-periods 1 \
--comparison-operator gt \
--query "metadata.user_metadata.stack=string::7db79235-8cde-43f2-9cf4-6200557164e7" \
--debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment