aboutsummaryrefslogtreecommitdiff
path: root/pkgs/check_aws_ec2_elb/check_aws_ec2_elb.conf
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2018-12-11 18:10:48 +0300
committerIgor Pashev <pashev.igor@gmail.com>2018-12-11 18:10:48 +0300
commit8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3 (patch)
treed03b70f693463fc836a8dbe4240424d2547530c8 /pkgs/check_aws_ec2_elb/check_aws_ec2_elb.conf
parentc4273035cf5876e3ba8ed2c6b492d31c2de290ee (diff)
downloadnixsap-8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3.tar.gz
(* HUGE *) Use nixpkgs overlays
Diffstat (limited to 'pkgs/check_aws_ec2_elb/check_aws_ec2_elb.conf')
-rw-r--r--pkgs/check_aws_ec2_elb/check_aws_ec2_elb.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/check_aws_ec2_elb/check_aws_ec2_elb.conf b/pkgs/check_aws_ec2_elb/check_aws_ec2_elb.conf
new file mode 100644
index 0000000..9718e3c
--- /dev/null
+++ b/pkgs/check_aws_ec2_elb/check_aws_ec2_elb.conf
@@ -0,0 +1,14 @@
+object CheckCommand "aws-ec2-elb" {
+ import "plugin-check-command"
+
+ command = [ "check_aws_ec2_elb" ]
+
+ arguments = {
+ "-h" = "$aws_ec2_elb_address$"
+ "-f" = "$aws_ec2_elb_boto_config$"
+ "-w" = "$aws_ec2_elb_warn$"
+ "-c" = "$aws_ec2_elb_crit$"
+ }
+ vars.aws_ec2_elb_address = "$address$"
+}
+