Correct the default cacti tree name
* modules/openstack_project/files/cacti/create_graphs.sh: At some point, the default tree ceased being named "Default Tree" and became "All Hosts" at which point new host nodes were no longer able to be added to it. Correcting here should improve the situation for future additions. Change-Id: I4869a1d470497b120dd99c97677a7ae4dc26667f
This commit is contained in:
parent
417d1576fd
commit
7005f8265a
@ -12,7 +12,7 @@ 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`
|
||||
|
||||
TREE_ID=`php -q add_tree.php --list-trees |grep "Default Tree"|cut -f 1`
|
||||
TREE_ID=`php -q add_tree.php --list-trees |grep "All Hosts"|cut -f 1`
|
||||
php -q add_tree.php --type=node --node-type=host --tree-id=$TREE_ID \
|
||||
--host-id=$HOST_ID
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user