aboutsummaryrefslogtreecommitdiff
path: root/modules/pkgs/check_aws_s3_file/check_aws_s3_file.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pkgs/check_aws_s3_file/check_aws_s3_file.conf')
-rw-r--r--modules/pkgs/check_aws_s3_file/check_aws_s3_file.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/pkgs/check_aws_s3_file/check_aws_s3_file.conf b/modules/pkgs/check_aws_s3_file/check_aws_s3_file.conf
new file mode 100644
index 0000000..e2ec2b5
--- /dev/null
+++ b/modules/pkgs/check_aws_s3_file/check_aws_s3_file.conf
@@ -0,0 +1,18 @@
+object CheckCommand "aws-s3-file" {
+ import "plugin-check-command"
+
+ command = [ "check_aws_s3_file" ]
+
+ arguments = {
+ "-f" = "$aws_s3_file_credentials$"
+ "-b" = "$aws_s3_file_bucket$"
+ "-k" = "$aws_s3_file_key$"
+ "-s" = "$aws_s3_file_size_warn$"
+ "-S" = "$aws_s3_file_size_crit$"
+ "-t" = "$aws_s3_file_age_warn$"
+ "-T" = "$aws_s3_file_age_crit$"
+ }
+ vars.aws_s3_file_bucket = "$host.name$"
+ vars.aws_s3_file_key = "$service.name$"
+}
+