fix cinder-api check, add cinder_services
Change-Id: Ib150b36f75e33f7074599c7b465543affcb6c0f3
diff --git a/cinder/meta/sensu.yml b/cinder/meta/sensu.yml
index a418e13..8c0dd31 100644
--- a/cinder/meta/sensu.yml
+++ b/cinder/meta/sensu.yml
@@ -18,7 +18,7 @@
subscribers:
- local-cinder-volume
remote_openstack_cinder_api:
- command: "PATH=$PATH:/usr/local/bin oschecks-check_cinder_api --os_auth_url='http://:::openstack.host:::::::openstack.port:::/v2.0' --os_username=:::openstack.user::: --os_password=':::openstack.password:::' --os_tenant_name=:::openstack.tenant"
+ command: "PATH=$PATH:/usr/local/bin oschecks-check_cinder_api --os_auth_url='http://:::openstack.host:::::::openstack.port:::/v2.0' --os_username=:::openstack.user::: --os_password=':::openstack.password:::' --os_tenant_name=:::openstack.tenant:::"
interval: 60
occurrences: 1
subscribers:
@@ -28,4 +28,10 @@
interval: 300
occurrences: 1
subscribers:
+ - remote-network
+ remote_cinder_services:
+ command: "PATH=$PATH:/etc/sensu/plugins check_cinder_services.sh -u :::openstack.user::: -p :::openstack.password::: -t :::openstack.tenant::: -h 'http://:::openstack.host:::::::openstack.port:::/v2.0'"
+ interval: 60
+ occurrences: 1
+ subscribers:
- remote-network
\ No newline at end of file