From 3d1d3f7440a1bebe9f82e03747fe558f5f0b5435 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 7 Oct 2018 12:33:33 +0300 Subject: Add check_aws_s3_file --- modules/pkgs/check_aws_s3_file/check_aws_s3_file.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 modules/pkgs/check_aws_s3_file/check_aws_s3_file.conf (limited to 'modules/pkgs/check_aws_s3_file/check_aws_s3_file.conf') 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$" +} + -- cgit v1.2.3