summaryrefslogtreecommitdiffstats
path: root/roles/os_zabbix/vars
diff options
context:
space:
mode:
authorJoel Diaz <jdiaz@redhat.com>2015-11-11 15:34:15 -0500
committerJoel Diaz <jdiaz@redhat.com>2015-11-11 15:34:15 -0500
commit08c36a6bdbd5fe8a4ea8adf3b9c93853820c4d7f (patch)
treef9565a41816ad1fe9f060d765a196f1bd7fb3787 /roles/os_zabbix/vars
parent4c6ef6236555af4f6c8d6b49a64f6134f11af73e (diff)
parent5561086ad55cac6605df515f09b04284890f0b2b (diff)
downloadopenshift-08c36a6bdbd5fe8a4ea8adf3b9c93853820c4d7f.tar.gz
openshift-08c36a6bdbd5fe8a4ea8adf3b9c93853820c4d7f.tar.bz2
openshift-08c36a6bdbd5fe8a4ea8adf3b9c93853820c4d7f.tar.xz
openshift-08c36a6bdbd5fe8a4ea8adf3b9c93853820c4d7f.zip
Merge pull request #874 from joelddiaz/s3-sla
Add zabbix pieces to hold AWS S3 bucket stats
Diffstat (limited to 'roles/os_zabbix/vars')
-rw-r--r--roles/os_zabbix/vars/template_aws.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/roles/os_zabbix/vars/template_aws.yml b/roles/os_zabbix/vars/template_aws.yml
new file mode 100644
index 000000000..0ed682128
--- /dev/null
+++ b/roles/os_zabbix/vars/template_aws.yml
@@ -0,0 +1,25 @@
+---
+g_template_aws:
+ name: Template AWS
+ zdiscoveryrules:
+ - name: disc.aws
+ key: disc.aws
+ lifetime: 1
+ description: "Dynamically register AWS bucket info"
+
+ zitemprototypes:
+ - discoveryrule_key: disc.aws
+ name: "S3 bucket size (GB) [{#S3_BUCKET}]"
+ key: "disc.aws.size[{#S3_BUCKET}]"
+ value_type: int
+ description: "Size of S3 bucket"
+ applications:
+ - AWS
+
+ - discoveryrule_key: disc.aws
+ name: "S3 bucket object count [{#S3_BUCKET}]"
+ key: "disc.aws.objects[{#S3_BUCKET}]"
+ value_type: int
+ description: "Objects in S3 bucket"
+ applications:
+ - AWS