diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-12-11 18:10:48 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-12-11 18:10:48 +0300 |
commit | 8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3 (patch) | |
tree | d03b70f693463fc836a8dbe4240424d2547530c8 /pkgs/check_aws_s3_file/check_aws_s3_file.conf | |
parent | c4273035cf5876e3ba8ed2c6b492d31c2de290ee (diff) | |
download | nixsap-8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3.tar.gz |
(* HUGE *) Use nixpkgs overlays
Diffstat (limited to 'pkgs/check_aws_s3_file/check_aws_s3_file.conf')
-rw-r--r-- | pkgs/check_aws_s3_file/check_aws_s3_file.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/check_aws_s3_file/check_aws_s3_file.conf b/pkgs/check_aws_s3_file/check_aws_s3_file.conf new file mode 100644 index 0000000..e2ec2b5 --- /dev/null +++ b/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$" +} + |