cfn_monitor 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cfn_monitor/version.rb +1 -1
- data/lib/config/templates.yml +20 -2
- data/lib/templates/hosts.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8c9de1db8729b84ddf0c0316fa6323596794f33ddbf48b49ba954c3ea05b318
|
|
4
|
+
data.tar.gz: 98fe45b80242dbd05af1ea3c48dbf999c9dc217a131bc9199c27624f125e591a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7babc95284abf0b2fc9c7a5545efd7e84d4805b2013df05b2dfdd2c9d8519fbb5aebdb574300cca168968b561fdd364ec05207aef6c049847ba57df0f80028a
|
|
7
|
+
data.tar.gz: 6ecce5afb5a1e3c7df1ab117ac721d6f06b965931dfe1008e34c6f5d873148bbc7133f46fa3bd08e8c54fdcccc33c8d3acca50d102579e80c564a47ff6f8103d
|
data/lib/cfn_monitor/version.rb
CHANGED
data/lib/config/templates.yml
CHANGED
|
@@ -459,6 +459,24 @@ templates:
|
|
|
459
459
|
Statistic: Minimum
|
|
460
460
|
Threshold: 75
|
|
461
461
|
EvaluationPeriods: 10
|
|
462
|
+
CurrentConnectionsTask:
|
|
463
|
+
AlarmActions: task
|
|
464
|
+
Namespace: AWS/ElastiCache
|
|
465
|
+
MetricName: CurrConnections
|
|
466
|
+
ComparisonOperator: GreaterThanThreshold
|
|
467
|
+
DimensionsName: CacheClusterId
|
|
468
|
+
Statistic: Maximum
|
|
469
|
+
Threshold: 50000
|
|
470
|
+
EvaluationPeriods: 10
|
|
471
|
+
CurrentConnectionsCrit:
|
|
472
|
+
AlarmActions: crit
|
|
473
|
+
Namespace: AWS/ElastiCache
|
|
474
|
+
MetricName: CurrConnections
|
|
475
|
+
ComparisonOperator: GreaterThanThreshold
|
|
476
|
+
DimensionsName: CacheClusterId
|
|
477
|
+
Statistic: Maximum
|
|
478
|
+
Threshold: 60000
|
|
479
|
+
EvaluationPeriods: 10
|
|
462
480
|
ElasticFileSystem: # AWS::EFS::FileSystem
|
|
463
481
|
PercentIOLimitHigh:
|
|
464
482
|
AlarmActions: crit
|
|
@@ -763,7 +781,7 @@ templates:
|
|
|
763
781
|
Period: 60
|
|
764
782
|
EvaluationPeriods: 5
|
|
765
783
|
MetricName: ApproximateAgeOfOldestMessage
|
|
766
|
-
TreatMissingData:
|
|
784
|
+
TreatMissingData: notBreaching
|
|
767
785
|
ApproximateNumberOfMessagesVisible:
|
|
768
786
|
AlarmActions: crit
|
|
769
787
|
Namespace: AWS/SQS
|
|
@@ -774,7 +792,7 @@ templates:
|
|
|
774
792
|
Period: 60
|
|
775
793
|
EvaluationPeriods: 5
|
|
776
794
|
MetricName: ApproximateNumberOfMessagesVisible
|
|
777
|
-
TreatMissingData:
|
|
795
|
+
TreatMissingData: notBreaching
|
|
778
796
|
LambdaFunction: #AWS::Lambda::Function
|
|
779
797
|
Throttles:
|
|
780
798
|
AlarmActions: crit
|
data/lib/templates/hosts.rb
CHANGED
|
@@ -73,7 +73,7 @@ CloudFormation do
|
|
|
73
73
|
Resource("NrpeCheckFunction#{hostHash}") do
|
|
74
74
|
Condition "Condition#{hostHash}" if alarm[:environments] != ['all']
|
|
75
75
|
Type 'AWS::Lambda::Function'
|
|
76
|
-
Property('Code', { S3Bucket: FnJoin('.', ['base2.lambda', Ref('AWS::Region')]), S3Key: 'aws-lambda-nrpe-check/0.
|
|
76
|
+
Property('Code', { S3Bucket: FnJoin('.', ['base2.lambda', Ref('AWS::Region')]), S3Key: 'aws-lambda-nrpe-check/0.2/handler.zip' })
|
|
77
77
|
Property('Handler', 'main')
|
|
78
78
|
Property('MemorySize', 128)
|
|
79
79
|
Property('Runtime', 'go1.x')
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cfn_monitor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Base2Services
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2019-
|
|
13
|
+
date: 2019-11-12 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: thor
|
|
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
248
248
|
- !ruby/object:Gem::Version
|
|
249
249
|
version: '0'
|
|
250
250
|
requirements: []
|
|
251
|
-
rubygems_version: 3.0.
|
|
251
|
+
rubygems_version: 3.0.6
|
|
252
252
|
signing_key:
|
|
253
253
|
specification_version: 4
|
|
254
254
|
summary: Configure and generate a cloudwatch monitoring cloudformation stack
|