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:
parent
6af6dd0de6
commit
858466e0a1
@ -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`
|
HOST_ID=`php -q add_graphs.php --list-hosts |grep $HOST_NAME|cut -f 1`
|
||||||
|
|
||||||
|
|
||||||
if [[ $HOST_NAME =~ hpuswest\.ic\.openstack\.org ]]; then
|
if [[ $HOST_NAME =~ vanilla\.ic\.openstack\.org ]]; then
|
||||||
TREE_NAME='Infra Cloud West'
|
TREE_NAME='Infra Cloud Vanilla'
|
||||||
else
|
else
|
||||||
TREE_NAME='All Hosts'
|
TREE_NAME='All Hosts'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user