Can not import host template, cacti 0.8.6g

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
asg
Posts: 5
Joined: Tue Oct 18, 2005 4:50 am

Can not import host template, cacti 0.8.6g

Post by asg »

Hi,

i have a host-tamplate for a Rittal CMC (and some other templates from cacti.net) i wish to import to cacti.
So if i try to import these templates i receive the following error message:

Code: Select all

Notice: Only variable references should be returned by reference in /usr/local/share/cacti/lib/import.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/cacti/lib/import.php:36) in /usr/local/share/cacti/templates_import.php on line 67
I am using FreeBSD 5.4 with cacti-0.8.6g, php4-4.4.0, mysql-client-4.1.14,
mysql-server-4.1.14.

Thanks in advance.

asg
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Something is wrong with the XML of the template.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
asg
Posts: 5
Joined: Tue Oct 18, 2005 4:50 am

Post by asg »

So a bug in cacti, or how to fix that?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Problem with the template.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

But, have you applied all the patches for 0.8.6g?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
asg
Posts: 5
Joined: Tue Oct 18, 2005 4:50 am

Post by asg »

I tried a lot of templates but no success. So i do not think the template is the problem.
All Fixes? Uh, i installed cacti from the FreeBSD Ports, maybe i give the cacti source from cacti.net a chance.
asg
Posts: 5
Joined: Tue Oct 18, 2005 4:50 am

Post by asg »

Ok, i installed all the patches from the cacti page for 0.8.6g an i get the same error. So is there another way to install a template?
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests