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    


Tree enhancements for group by "Data Query Index"

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
moonman
Cacti User


Joined: 06 Sep 2003
Posts: 94

PostPosted: Fri Jun 17, 2005 1:21 pm    Post subject: Tree enhancements for group by "Data Query Index" Reply with quote

This is a patch for 0.8.6e that add few enhancements to the tree view group by "Data Query Index"
that are most useful for large installation with a lot of interfaces.

1. you can specify the order of the graphs in tree view when you group by "Data Query Index"
for example in normal tree if you have graphs for traffic error and unicast packets the order will be alphabetic like
error
traffic
unicast packets
with my patch you can add value of 10 to the order in the errors Graph Template
then because the default order of the other templates are 0 the graphs will display in this order
traffic
unicast packets
errors

2. this enhancement display the text you add after the default graph title of traffic graphs "|host_description| - Traffic - |query_ifName|"
for example if the title in the graph management is "|host_description| - Traffic - |query_ifName| To XYZ"
in the graph tree you will see it like "GigabitEthernet3/1 To XYZ"

3. Tree grouping by interfaces name for example if you have host with 200 interfaces you dont want all of them in one branch
but with my patch the interfaces are grouped by interface name for example

Host:Router
-SNMP - Interface Statistics
--From GigabitEthernet1
---GigabitEthernet1/1
---GigabitEthernet1/2
---GigabitEthernet1/3
--From GigabitEthernet3
---GigabitEthernet3/1
---GigabitEthernet3/4
---GigabitEthernet3/5

you can specify the "Max Leafs In Branch" in the setting tab for each user (the default is 10)
and by that if you have host with only 8 interfaces it will not grouped like I mention before

for the patch to work you need to run these commands in the mysql shell

ALTER TABLE `graph_templates_graph` ADD `graph_order` MEDIUMINT( 8 ) NOT NULL ,
ADD `t_graph_order` CHAR( 2 )

I will be happy to see it in cacti 0.9

Nitzan



tree-0.8.6e-0.1.patch
 Description:

Download
 Filename:  tree-0.8.6e-0.1.patch
 Filesize:  10.75 KB
 Downloaded:  146 Time(s)

Back to top
moonman
Cacti User


Joined: 06 Sep 2003
Posts: 94

PostPosted: Fri Jun 24, 2005 2:52 pm    Post subject: Reply with quote

I dont see that you use it
but here is a new patch that fix some bugs in the tree grouping

Nitzan



24.6.05.patch
 Description:

Download
 Filename:  24.6.05.patch
 Filesize:  11.96 KB
 Downloaded:  161 Time(s)

Back to top
lga



Joined: 23 May 2005
Posts: 21
Location: Belgium

PostPosted: Wed Apr 19, 2006 1:59 am    Post subject: Reply with quote

Hi,


I'm really interested by your idea but can you create a patch for 0.8.6h cacti version ? and the explanation how to apply this one ?

We use Cisco Catalyst 65xx with more than 350 interfaces

Thks in advance,

Lionel.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group