about import Template

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

Moderators: Developers, Moderators

Post Reply
adl0921
Posts: 18
Joined: Thu Aug 07, 2014 7:59 pm

about import Template

Post by adl0921 »

Hi,
It's about Import Template from local file failure on cacti 1.2.4 and 1.2.5.
I import the template then i got the import preview results(as the attachment below) but checking the templetes Device and Graph is no new added.
May I miss something?

Thanks.
Attachments
螢幕快照 2019-07-23 上午8.59.00.png
螢幕快照 2019-07-23 上午8.59.00.png (122.71 KiB) Viewed 2655 times
Last edited by adl0921 on Wed Jul 24, 2019 8:26 pm, edited 1 time in total.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: aboutIimport Template

Post by Osiris »

You are just importing the template. You need to create either an automation rule, or manually add the devices and create the graphs afterwards.
Before history, there was a paradise, now dust.
adl0921
Posts: 18
Joined: Thu Aug 07, 2014 7:59 pm

Re: aboutIimport Template

Post by adl0921 »

Yes.
When i manually add the devices and choose the Device Template I have no found the templete i import before.
Attachments
螢幕快照 2019-07-23 上午9.14.28.png
螢幕快照 2019-07-23 上午9.14.28.png (250.68 KiB) Viewed 2653 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: aboutIimport Template

Post by Osiris »

Oh, sorry, it's a language issue. You did not import, you simply "previewed". It's a bit annoying, but it was done that way so that people would see the changes before they actually broke something by importing a bad template.
Before history, there was a paradise, now dust.
adl0921
Posts: 18
Joined: Thu Aug 07, 2014 7:59 pm

Re: aboutIimport Template

Post by adl0921 »

Osiris wrote:Oh, sorry, it's a language issue. You did not import, you simply "previewed". It's a bit annoying, but it was done that way so that people would see the changes before they actually broke something by importing a bad template.
When importing template, the monitor shows 「C:\fakepath\xxxx」
I am wondering.
I have a bad template ?
What should i do ?
Attachments
螢幕快照 2019-07-25 上午9.46.59.png
螢幕快照 2019-07-25 上午9.46.59.png (138.47 KiB) Viewed 2637 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: about import Template

Post by Osiris »

The is because the file is not readable by the browser. It's the way they work. It's just a fake path.
Before history, there was a paradise, now dust.
adl0921
Posts: 18
Joined: Thu Aug 07, 2014 7:59 pm

Re: about import Template

Post by adl0921 »

OK. I found the problem.
Disable Preview Import Only and everything goes well.
Thanks.
nguyenhuy2703
Posts: 1
Joined: Thu Sep 24, 2020 9:06 pm

Re: about import Template

Post by nguyenhuy2703 »

adl0921 wrote: Thu Jul 25, 2019 1:19 am OK. I found the problem.
Disable Preview Import Only and everything goes well.
Thanks.
Thanks adl0921,

I just got the same error as you and I have read it from this post
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest