moonman Cacti User
Joined: 06 Sep 2003 Posts: 94
|
Posted: Wed Aug 25, 2004 5:43 pm Post subject: graph template ordering patch |
|
|
this is a patch against 25.8 beta that add option to graph template for ordering.
this option is good if you work with hosts in tree and you group by query index.
now if you have graphs for traffic, errors and pps the graphs will be in alphabetic ordering :
errors
traffic
pps
but with my patch you can add order value of 100 to errors 50 to pps and 20 for traffic and then the order of the graphs in the tree will be:
traffic
pps
errors
you will also need to add two new fields to graph_templates_graph table with this sql command
ALTER TABLE `graph_templates_graph` ADD `graph_order` MEDIUMINT( 8 ) NOT NULL ,
ADD `t_graph_order` CHAR( 2 )
please test this patch and add it to the cvs
Thanks
| Description: |
|
 Download |
| Filename: |
order.zip |
| Filesize: |
1.29 KB |
| Downloaded: |
96 Time(s) |
|
|