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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9cd75b2a5ecc54556ec3f6083dcabd186f59ca7f7b9ada64b886dc03f967f3dc
4
- data.tar.gz: 38dc6efb71dd2f2af6d05dac7b6dd3727a96954c918bee9f1db798c35f8e1406
3
+ metadata.gz: f8c9de1db8729b84ddf0c0316fa6323596794f33ddbf48b49ba954c3ea05b318
4
+ data.tar.gz: 98fe45b80242dbd05af1ea3c48dbf999c9dc217a131bc9199c27624f125e591a
5
5
  SHA512:
6
- metadata.gz: 3abc1dce4be7802458a882e7e2da33fa83d05ef7fb72f34eab4109e840216aeaab124115b85370926df81e0b5f1ee9fc5f41ff88eb34d8aa5ed116e78f7fd88b
7
- data.tar.gz: c65c609eed844b1995aad07f4313285b536740bf081a621e798512b285959c2ab1ee82523efb0add18836cc43dc96b62554b0ce457a0133eb80a8ef1d6a1dbb9
6
+ metadata.gz: c7babc95284abf0b2fc9c7a5545efd7e84d4805b2013df05b2dfdd2c9d8519fbb5aebdb574300cca168968b561fdd364ec05207aef6c049847ba57df0f80028a
7
+ data.tar.gz: 6ecce5afb5a1e3c7df1ab117ac721d6f06b965931dfe1008e34c6f5d873148bbc7133f46fa3bd08e8c54fdcccc33c8d3acca50d102579e80c564a47ff6f8103d
@@ -1,3 +1,3 @@
1
1
  module CfnMonitor
2
- VERSION = "0.4.2".freeze
2
+ VERSION = "0.4.3".freeze
3
3
  end
@@ -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: breaching
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: breaching
795
+ TreatMissingData: notBreaching
778
796
  LambdaFunction: #AWS::Lambda::Function
779
797
  Throttles:
780
798
  AlarmActions: crit
@@ -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.1/handler.zip' })
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.2
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-08-07 00:00:00.000000000 Z
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.4
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