Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
9a29fee9
Commit
9a29fee9
authored
Sep 05, 2014
by
Mathieu MD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove namespace restrictions in ec2_metric_alarm
Fixes #7970
parent
8cc35439
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
library/cloud/ec2_metric_alarm
+3
-4
No files found.
library/cloud/ec2_metric_alarm
View file @
9a29fee9
...
...
@@ -39,9 +39,8 @@ options:
required: false
namespace:
description:
- Name of the appropriate namespace, which determines the category it will appear under in cloudwatch
- Name of the appropriate namespace
('AWS/EC2', 'System/Linux', etc.)
, which determines the category it will appear under in cloudwatch
required: false
options: ['AWS/AutoScaling','AWS/Billing','AWS/DynamoDB','AWS/ElastiCache','AWS/EBS','AWS/EC2','AWS/ELB','AWS/ElasticMapReduce','AWS/OpsWorks','AWS/Redshift','AWS/RDS','AWS/Route53','AWS/SNS','AWS/SQS','AWS/StorageGateway']
statistic:
description:
- Operation applied to the metric
...
...
@@ -248,8 +247,8 @@ def main():
dict
(
name
=
dict
(
required
=
True
,
type
=
'str'
),
metric
=
dict
(
type
=
'str'
),
namespace
=
dict
(
type
=
'str'
,
choices
=
[
'AWS/AutoScaling'
,
'AWS/Billing'
,
'AWS/DynamoDB'
,
'AWS/ElastiCache'
,
'AWS/EBS'
,
'AWS/EC2'
,
'AWS/ELB'
,
'AWS/ElasticMapReduce'
,
'AWS/OpsWorks'
,
'AWS/Redshift'
,
'AWS/RDS'
,
'AWS/Route53'
,
'AWS/SNS'
,
'AWS/SQS'
,
'AWS/StorageGateway'
]),
statistic
=
dict
(
type
=
'str'
,
choices
=
[
'SampleCount'
,
'Average'
,
'Sum'
,
'Minimum'
,
'Maximum'
]),
namespace
=
dict
(
type
=
'str'
)
,
statistic
=
dict
(
type
=
'str'
,
choices
=
[
'SampleCount'
,
'Average'
,
'Sum'
,
'Minimum'
,
'Maximum'
]),
comparison
=
dict
(
type
=
'str'
,
choices
=
[
'<='
,
'<'
,
'>'
,
'>='
]),
threshold
=
dict
(
type
=
'float'
),
period
=
dict
(
type
=
'int'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment