I'm trying to import the attached template into Cacti v1.0.2, but it fails with the error message "Error: XML: Cacti version does not exist.". The full result of the import operation is:
Error: XML: Cacti version does not exist.
Import ResultsHide
Cacti has imported the following items for the Template:
CDEF
[success] [unchanged]
[success] [unchanged]
GPRINT Preset
[success] [unchanged]
Data Input Method
[success] [unchanged]
Data Template
[success] [updated]
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Buffers'
[success] [updated]
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Buffers'
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Free'
[success] [updated]
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Buffers'
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Free'
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Cache'
[fail] [new]
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Buffers'
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Free'
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Cache'
Graph Template
[fail] [new]
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Buffers'
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Free'
Table: data_template, Column: name, New Value: '', Old Value: 'ucd/net - Memory - Cache'
I'm also observing the following PHP notices in the error_log:
PHP Notice: Undefined index: in /var/www/html/lib/import.php on line 70, referer: https://x/templates_import.php
PHP Notice: Undefined index: in /var/www/html/lib/import.php on line 73, referer: https://x/templates_import.php
PHP Notice: Undefined index: hash_00af42dd65d04675a71831456c799b2ae1 in /var/www/html/lib/import.php on line 73, referer: https://x/templates_import.php
Any idea what's causing this?
Import template fails in Cacti 1.0.2
Moderators: Developers, Moderators
Import template fails in Cacti 1.0.2
- Attachments
-
- cacti_graph_template__ucdnet_-_memory_usage_real.zip
- (4.25 KiB) Downloaded 49 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Re: Import template fails in Cacti 1.0.2
I take full responsibility for this, I failed to add the 1.0.2 hash entry for the templates.
Please download and replace the include/global_arrays.php file at https://raw.githubusercontent.com/Cacti ... arrays.php
Cacti 1.0.3 will be released shortly to rectify this problem.
Please download and replace the include/global_arrays.php file at https://raw.githubusercontent.com/Cacti ... arrays.php
Cacti 1.0.3 will be released shortly to rectify this problem.
[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]
[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]
Re: Import template fails in Cacti 1.0.2
Thanks Tony, that fixed it.
Who is online
Users browsing this forum: No registered users and 1 guest