Graph Templates Location on Cacti Server

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Stij
Posts: 5
Joined: Wed Sep 18, 2019 3:23 am

Graph Templates Location on Cacti Server

Post by Stij »

Hi guys!

I would like to know where the graph templates are stored by default on the Cacti server. Shouldn't there be a directory where all XML files are stored? Unfortunately I couldn't find anything

Thank you in advance!
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Graph Templates Location on Cacti Server

Post by netniV »

Graph templates are stored in the database with a reference file in resources depending on the graph type.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Stij
Posts: 5
Joined: Wed Sep 18, 2019 3:23 am

Re: Graph Templates Location on Cacti Server

Post by Stij »

netniV wrote: Wed Sep 18, 2019 7:42 am Graph templates are stored in the database with a reference file in resources depending on the graph type.
Alright, is it possible to add a graph template file manually to the database? (the importing of templates via import/export isn't working somehow.)
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Graph Templates Location on Cacti Server

Post by netniV »

Due to the underlying complexity, that's why it is normally done via import/export.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Stij
Posts: 5
Joined: Wed Sep 18, 2019 3:23 am

Re: Graph Templates Location on Cacti Server

Post by Stij »

netniV wrote: Mon Sep 23, 2019 10:31 am Due to the underlying complexity, that's why it is normally done via import/export.
Hi

Thanks for the answer! So do you know any advices what I can do if the import of graph templates doesn't work?

1. I chose the template File I wanted to import. (Got it from my old cacti server)
2. I clicked on "Import"
3. The "Import Preview Results" are shown
4. I click on "close"
5. Go to the graph templates
6. Nothing new there

Thanks in advance
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Graph Templates Location on Cacti Server

Post by netniV »

Yes, I think I do :)

There was a change made to preview the template import first. You should then untick the preview option and import again (I think you need to select the import file again).

I opened an enhancement request for 1.3 to stop forcing the user to select everything twice just to import so that after preview, you can just say, yes I want this template.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests