Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


graph tree (tree.php) Bug?

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
Guest






PostPosted: Wed Jun 02, 2004 4:19 am    Post subject: graph tree (tree.php) Bug? Reply with quote

I use cacti-0.8.5.

I registerd over 100 hosts in a graph tree.
But I tried to change hosts order, It works strange.

It seems that the same order_key will be set when the registration to the same tree is the 10th or the grater than 100.

mysql> select * from graph_tree_items order by order_key;
+-----+---------------+----------------+--------+-------+---------+--------------------------------------------------------------+
| id | graph_tree_id | local_graph_id | rra_id | title | host_id | order_key |
+-----+---------------+----------------+--------+-------+---------+--------------------------------------------------------------+
| 34 | 2 | 0 | 0 | | 13 | 010000000000000000000000000000000000000000000000000000000000 |
| 35 | 2 | 0 | 0 | | 14 | 020000000000000000000000000000000000000000000000000000000000 |
| 9 | 2 | 0 | 0 | | 6 | 030000000000000000000000000000000000000000000000000000000000 |
| 36 | 2 | 0 | 0 | | 17 | 050000000000000000000000000000000000000000000000000000000000 |
| 37 | 2 | 0 | 0 | | 51 | 060000000000000000000000000000000000000000000000000000000000 |
| 38 | 2 | 0 | 0 | | 47 | 070000000000000000000000000000000000000000000000000000000000 |
| 40 | 2 | 0 | 0 | | 48 | 080000000000000000000000000000000000000000000000000000000000 |
| 41 | 2 | 0 | 0 | | 82 | 090000000000000000000000000000000000000000000000000000000000 |
| 158 | 2 | 0 | 0 | | 123 | 100000000000000000000000000000000000000000000000000000000000 |
| 44 | 2 | 0 | 0 | | 52 | 100000000000000000000000000000000000000000000000000000000000 |
| 159 | 2 | 0 | 0 | | 161 | 100000000000000000000000000000000000000000000000000000000000 |
| 45 | 2 | 0 | 0 | | 53 | 110000000000000000000000000000000000000000000000000000000000 |
| 46 | 2 | 0 | 0 | | 7 | 120000000000000000000000000000000000000000000000000000000000 |
| 47 | 2 | 0 | 0 | | 26 |
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Mon Jul 26, 2004 11:05 pm    Post subject: Reply with quote

Unfortunately '100' is a magic number in 0.8.5a for the maximum number of graph tree items on a given branch. If you exceed this limit, strange things start to happen (as you've noticed). This limit has been increased to 1000 in the next version if you want to hold off for a week or two.

-Ian
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group