Module: check_mk
Branch: master
Commit: 26416b878411fa1e68d7a5d168b905b9307a86fd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=26416b878411fa…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Feb 20 14:11:42 2019 +0100
AWS checks: Fixed a few missing 'aws.include's
Change-Id: I85af7da1e5614694ee7652b23e42212011d53932
---
checks/aws_ebs | 1 +
checks/aws_rds | 11 +++++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/checks/aws_ebs b/checks/aws_ebs
index 6a1e31c..243a159 100644
--- a/checks/aws_ebs
+++ b/checks/aws_ebs
@@ -112,6 +112,7 @@ check_info['aws_ebs.burst_balance'] = {
inventory_aws_generic(p, ['BurstBalance']),
'check_function': check_aws_ebs_burst_balance,
'service_description': 'AWS/EBS Burst Balance %s',
+ 'includes': ['aws.include'],
'group': 'aws_ebs_burst_balance',
'has_perfdata': True
}
diff --git a/checks/aws_rds b/checks/aws_rds
index 8fca101..66194ce 100644
--- a/checks/aws_rds
+++ b/checks/aws_rds
@@ -157,6 +157,7 @@ check_info['aws_rds.cpu_credits'] = {
inventory_aws_generic(p, ['CPUCreditUsage',
'CPUCreditBalance']),
'check_function': check_aws_rds_cpu_credits,
'service_description': 'AWS/RDS %s CPU Credits',
+ 'includes': ['aws.include'],
'group': 'aws_rds_cpu_credits',
'has_perfdata': True,
}
@@ -204,7 +205,7 @@ check_info['aws_rds.network_io'] = {
inventory_aws_generic(p, ['NetworkReceiveThroughput',
'NetworkTransmitThroughput']),
'check_function': check_aws_rds_network_io,
'service_description': 'AWS/RDS %s Network IO',
- 'includes': ["if.include"],
+ 'includes': ['aws.include', "if.include"],
'default_levels_variable': "if_default_levels",
'group': 'if',
'has_perfdata': True,
@@ -243,6 +244,7 @@ check_info['aws_rds.bin_log_usage'] = {
inventory_aws_generic(p, ['BinLogDiskUsage',
'AllocatedStorage']),
'check_function': check_aws_rds_bin_log_usage,
'service_description': 'AWS/RDS %s Binary Log Usage',
+ 'includes': ['aws.include'],
'has_perfdata': True,
'group': 'aws_rds_disk_usage',
}
@@ -290,6 +292,7 @@ check_info['aws_rds.transaction_logs_usage'] = {
inventory_aws_generic(p, ['TransactionLogsDiskUsage',
'AllocatedStorage']),
'check_function': check_aws_rds_transaction_logs_usage,
'service_description': 'AWS/RDS %s Transaction Logs Usage',
+ 'includes': ['aws.include'],
'has_perfdata': True,
'group': 'aws_rds_disk_usage',
}
@@ -333,6 +336,7 @@ check_info['aws_rds.replication_slot_usage'] = {
inventory_aws_generic(p, ['ReplicationSlotDiskUsage',
'AllocatedStorage']),
'check_function': check_aws_rds_replication_slot_usage,
'service_description': 'AWS/RDS %s Replication Slot Usage',
+ 'includes': ['aws.include'],
'has_perfdata': True,
'group': 'aws_rds_disk_usage',
}
@@ -373,7 +377,7 @@ check_info['aws_rds.disk_io'] = {
inventory_aws_generic(p, ['DiskQueueDepth', 'ReadIOPS',
'ReadLatency', 'ReadThroughput', 'WriteIOPS',
'WriteLatency', 'WriteThroughput']),
'check_function': check_aws_rds_disk_io,
'service_description': 'AWS/RDS %s Disk IO',
- 'includes': ['diskstat.include'],
+ 'includes': ['aws.include', 'diskstat.include'],
'group': 'diskstat',
'has_perfdata': True,
}
@@ -403,6 +407,7 @@ check_info['aws_rds.connections'] = {
inventory_aws_generic(p, ['DatabaseConnections']),
'check_function': check_aws_rds_connections,
'service_description': 'AWS/RDS %s Connections',
+ 'includes': ['aws.include'],
'has_perfdata': True,
'group': 'aws_rds_connections',
}
@@ -433,6 +438,7 @@ check_info['aws_rds.agent_jobs'] = {
inventory_aws_generic(p, ['FailedSQLServerAgentJobsCount']),
'check_function': check_aws_rds_agent_jobs,
'service_description': 'AWS/RDS %s SQL Server Agent Jobs',
+ 'includes': ['aws.include'],
}
#.
@@ -470,6 +476,7 @@ check_info['aws_rds.replica_lag'] = {
inventory_aws_generic(p, ['ReplicaLag']),
'check_function': check_aws_rds_replica_lag,
'service_description': 'AWS/RDS %s Replica Lag',
+ 'includes': ['aws.include'],
'has_perfdata': True,
'group': 'aws_rds_replica_lag',
}