From 858466e0a19fedcad419a633b9f6061a2cfb3500 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Wed, 21 Sep 2016 10:21:44 +0200 Subject: [PATCH] Group infracloud vanilla on its own Cacti tree Instead of having all infra hosts on the All Hosts tree, let's just have its own tree as we had for infracloud hpuswest back in the time. Change-Id: I25a49967f7e838bd59df8a9d2514241ddbafdf88 --- modules/openstack_project/files/cacti/create_graphs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/files/cacti/create_graphs.sh b/modules/openstack_project/files/cacti/create_graphs.sh index cd740f01d7..83f56a0b45 100644 --- a/modules/openstack_project/files/cacti/create_graphs.sh +++ b/modules/openstack_project/files/cacti/create_graphs.sh @@ -13,8 +13,8 @@ php -q add_device.php --description="$HOST_NAME" --ip="$HOST_NAME" \ HOST_ID=`php -q add_graphs.php --list-hosts |grep $HOST_NAME|cut -f 1` -if [[ $HOST_NAME =~ hpuswest\.ic\.openstack\.org ]]; then - TREE_NAME='Infra Cloud West' +if [[ $HOST_NAME =~ vanilla\.ic\.openstack\.org ]]; then + TREE_NAME='Infra Cloud Vanilla' else TREE_NAME='All Hosts' fi