From 7005f8265a1df7b01adba8406915627858bbe724 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 9 Oct 2013 21:52:25 +0000 Subject: [PATCH] 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 --- modules/openstack_project/files/cacti/create_graphs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/files/cacti/create_graphs.sh b/modules/openstack_project/files/cacti/create_graphs.sh index f9e3a7d73b..501d9ddb64 100644 --- a/modules/openstack_project/files/cacti/create_graphs.sh +++ b/modules/openstack_project/files/cacti/create_graphs.sh @@ -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