Some features to make work with templates and adding hosts

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
cka304nik
Posts: 8
Joined: Thu Dec 29, 2005 8:00 pm
Location: Latvia, Riga

Some features to make work with templates and adding hosts

Post by cka304nik »

Intro:
we working with many kings of servers: monitoring, DB servers, AS servers and so on.
with many OS:Linux, AIX, HP.....
1)
It is not possible to have unique host template for every such case like:
host_temp_Linux_JBoss
host_temp_Linux_DB_Oracle
host_temp_Linux_DB_MySQL
host_temp_Linux_AS_Oracle
host_temp_Linux_DB_and_AS
host_temp_Linux_AS_and_MailServer
.....
It would be nice to have instead just graphs sets like:
gr_set_Linux_OS
gr_set_LUnix_DB_Oracle
gr_set_LUnix_DB_MySQL
gr_set_LUnix_AS_Oracle
gr_set_LUnix_Mail_Domino
gr_set_Win2000_OS
gr_set_Win2000_DB_MSSQL
gr_set_Win2000_Mail_EXchange
....
and then to have ability to select host + grapgh set and then follow graphs creation wizard (to enter custom parameters)
in the same way as it is working creating host with assigned template.

2) Need template for Graph Tree
we have structure
Host
-- OS
----- CPU Utilization
----- Memory Utilization
----- IO Utilization
----- Network Utilization
-- DB
----- Users Statistocs
----- Memory usage
----- Waits
----- .....
It take significant ammount of time to pre-greate such tree for every new host and add graphs to it
It would be nice to have such template and assigned grapghs already in tree - like for host template

3) in graph templates list - add action - place in grapgh template (like this is in gh.tree for graphs)

4) export / import of data input methods - it is already implemented exporting gh/data templates with related items, but sometimes we need sole data input method (we have some cacti servers)

5) would be nice to have ALL templates export at once (gzip archive create don server and downloadable)
as well as import set of templates by uploading gzip/zip/7z file to cacti server

6) export of templates without hash values - just to make possible compare templates at real cacto servers with XML stored in out SVN repository
Just because some admin update/improve templates at some cacti servers - human bad habit not to share with others, but would be nice to have control on this.

7) More detailed explanation of DB structure - may be I will have time to write some utilities
for example to export host (with templates and grapghs and rrd_path) definitions to migrate it to othor cacti server.
and import as well.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Some features to make work with templates and adding hos

Post by gandalf »

cka304nik wrote:Intro:
we working with many kings of servers: monitoring, DB servers, AS servers and so on.
with many OS:Linux, AIX, HP.....
1)
It is not possible to have unique host template for every such case like:
host_temp_Linux_JBoss
host_temp_Linux_DB_Oracle
host_temp_Linux_DB_MySQL
host_temp_Linux_AS_Oracle
host_temp_Linux_DB_and_AS
host_temp_Linux_AS_and_MailServer
.....
It would be nice to have instead just graphs sets like:
gr_set_Linux_OS
gr_set_LUnix_DB_Oracle
gr_set_LUnix_DB_MySQL
gr_set_LUnix_AS_Oracle
gr_set_LUnix_Mail_Domino
gr_set_Win2000_OS
gr_set_Win2000_DB_MSSQL
gr_set_Win2000_Mail_EXchange
....
and then to have ability to select host + grapgh set and then follow graphs creation wizard (to enter custom parameters)
in the same way as it is working creating host with assigned template.
My favorite solution would be to create "host templates that include host templates". This way, you should be able to avoid duplicate work. Yes, it still will bring a lot of host templates ...
2) Need template for Graph Tree
we have structure
Host
-- OS
----- CPU Utilization
----- Memory Utilization
----- IO Utilization
----- Network Utilization
-- DB
----- Users Statistocs
----- Memory usage
----- Waits
----- .....
It take significant ammount of time to pre-greate such tree for every new host and add graphs to it
It would be nice to have such template and assigned grapghs already in tree - like for host template
I recommend AUTOM8 plugin for this task
3) in graph templates list - add action - place in grapgh template (like this is in gh.tree for graphs)
I do not understand this request
4) export / import of data input methods - it is already implemented exporting gh/data templates with related items, but sometimes we need sole data input method (we have some cacti servers)
Our idea is to package everything (DIM, Data Query XML and scripts) along with the templates
5) would be nice to have ALL templates export at once (gzip archive create don server and downloadable)
as well as import set of templates by uploading gzip/zip/7z file to cacti server
I suppose there's a plugin for that, never used it. No plans to do that by core code
6) export of templates without hash values - just to make possible compare templates at real cacto servers with XML stored in out SVN repository
Just because some admin update/improve templates at some cacti servers - human bad habit not to share with others, but would be nice to have control on this.
No plans for this
7) More detailed explanation of DB structure - may be I will have time to write some utilities
for example to export host (with templates and grapghs and rrd_path) definitions to migrate it to othor cacti server.
and import as well.
We indeed only provide a small map of relations at 1st link of my sig (at the very bottom, if I remember correctly). Yep, this as been asked already. We need volunteers ...

R.
cka304nik
Posts: 8
Joined: Thu Dec 29, 2005 8:00 pm
Location: Latvia, Riga

Re: Some features to make work with templates and adding hos

Post by cka304nik »

Sorry for long silence, was quite busy last time

1)
My favorite solution would be to create "host templates that include host templates". This way, you should be able to avoid duplicate work. Yes, it still will bring a lot of host templates ...
How can we do it?
I recommend AUTOM8 plugin for this task
OK, will try
3) in graph templates list - add action - place in grapgh template (like this is in gh.tree for graphs)
I do not understand this request
Sorry, was in a hurry.
Really need: mark graph templates and place all marked to existing or new Host template.
It take much longer to pick up one by one and press Add button, especially when graph templates list is quite long.
now we have just Delete and Duplicate actions. "Place in Host template" would be very nice with options
a) add to existing Host template (with verification that is is already there)
b) add to New Host template
4) export / import of data input methods - it is already implemented exporting gh/data templates with related items, but sometimes we need sole data input method (we have some cacti servers)
Our idea is to package everything (DIM, Data Query XML and scripts) along with the templates
Yes, I see, but sometime we need just Data Input without anything else.
5) would be nice to have ALL templates export at once (gzip archive create don server and downloadable)
as well as import set of templates by uploading gzip/zip/7z file to cacti server
I suppose there's a plugin for that, never used it. No plans to do that by core code
Really? What is the name?
7) More detailed explanation of DB structure - may be I will have time to write some utilities
for example to export host (with templates and grapghs and rrd_path) definitions to migrate it to othor cacti server.
and import as well.
We indeed only provide a small map of relations at 1st link of my sig (at the very bottom, if I remember correctly). Yep, this as been asked already. We need volunteers ...
Would You be so kind to get me link to that map published? Can't find myself.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Some features to make work with templates and adding hos

Post by gandalf »

cka304nik wrote:
3) in graph templates list - add action - place in grapgh template (like this is in gh.tree for graphs)
I do not understand this request
Sorry, was in a hurry.
Really need: mark graph templates and place all marked to existing or new Host template.
It take much longer to pick up one by one and press Add button, especially when graph templates list is quite long.
now we have just Delete and Duplicate actions. "Place in Host template" would be very nice with options
a) add to existing Host template (with verification that is is already there)
b) add to New Host template
[/quote]Sounds good. Will evaluate for 088
5) would be nice to have ALL templates export at once (gzip archive create don server and downloadable)
as well as import set of templates by uploading gzip/zip/7z file to cacti server
I suppose there's a plugin for that, never used it. No plans to do that by core code
Really? What is the name?[/quote]I suppose it was "transporter"
7) More detailed explanation of DB structure - may be I will have time to write some utilities
for example to export host (with templates and grapghs and rrd_path) definitions to migrate it to othor cacti server.
and import as well.
We indeed only provide a small map of relations at 1st link of my sig (at the very bottom, if I remember correctly). Yep, this as been asked already. We need volunteers ...
Would You be so kind to get me link to that map published? Can't find myself.[/quote]http://docs.cacti.net/manual:087:99_ref ... ase_design
R
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Some features to make work with templates and adding hos

Post by Howie »

It's not Transporter - transporter is a data capture plugin like DSStats.

Also, regarding the XML comparison without hashes: it's not so hard to write a small perl script to replace those hashes in your exported copies. Or even a decent text editor with regexp search/replace...
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests