There is often a "error:xml: Hash version does not exist" error that occurs when import download cacti template from the web.
This is because the cacti of the export template and the cacti version of the import template are caused by different versions . To ensure compatibility, cacti has a mechanism that prevents templates exported from the new version cacti from being directed back to the old version of cacti.
So how do you judge the cacti version that a template uses? The method is to view the value of the string behind the hash in the template. Examples are as follows:
This is a section of the template 04 0018 258d1c9487a6c58dd804f4a012007664>
the first two digits of blue are the type of the template.
next 4 digit red number cacti This is what we are looking for!!!
The numbers corresponding to each cacti version are recorded in the/var/www/html/cactig/include/global_arrays.php file, with reference to the section below that I extracted:
$hash _version_codes = Array (
" 0.8.4" = "0000",
" 0.8.5" = "0001",
"0.8.5a" = "0002",
" 0.8.6" = "0003",
"0.8.6a" = "0004",
"0.8.6b" = "0005",
"0.8.6c" = "0006",
"0.8.6d" = "0007",
"0.8.6e" = "0008",
"0.8.6f" = "0009",
"0.8.6g" = "0010",
"0.8.6h" = "0011",
"0.8.6i" = "0012",
"0.8.6j" = "0013",
" 0.8.7" = "0014",
"0.8.7a" = "0015",
"0.8.7b" = "0016",
"0.8.7c" = "0017",
"0.8.7d" = "0018"
);
You can replace a high-level content root if it doesn't change much or doesn't affect its use. (Remember to do backup)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/48/wKiom1R94aLTSX01AALj5V1wWLI661.jpg "title=" 1.png " alt= "Wkiom1r94altsx01aalj5v1wwli661.jpg"/>
This article is from the "Professor" blog, please be sure to keep this source http://professor.blog.51cto.com/996189/1585749
Linux judgment cacti version of template