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
This commit is contained in:
Ricardo Carrillo Cruz 2016-09-21 10:21:44 +02:00
parent 6af6dd0de6
commit 858466e0a1

View File

@ -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