updating nagios checks for cinder and glance to list all items not just the admins

Change-Id: If673828683f624a9fa28ff15cc2a99150dcde175
This commit is contained in:
Dan Radez
2014-06-04 15:17:05 -04:00
parent 0b2ee2e491
commit a4caf6f518
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
. /etc/nagios/keystonerc_admin
data=$(cinder list 2>&1)
data=$(cinder list --all-tenants 2>&1)
rv=$?
if [ "$rv" != "0" ] ; then

View File

@@ -2,7 +2,7 @@
. /etc/nagios/keystonerc_admin
data=$(glance index 2>&1)
data=$(glance image-list --all-tenants 2>&1)
rv=$?
if [ "$rv" != "0" ] ; then