cacti匯入模板報錯Error: XML:雜湊版本不存在.

綠蘿綠蘿123發表於2016-01-18

Take the following example: <hash_040018258d1c9487a6c58dd804f4a012007664>
The first 2 digits are the type of the template.
The next 4 digits are the Cacti version it was created on.
The next 32 digits are a random number.</hash_04

List of Versions
"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",
"0.8.7e" => "0019",
"0.8.7f" => "0020",
"0.8.7g" => "0021",
"0.8.7h" => "0022",
"0.8.7i" => "0023",
"0.8.8"  => "0024",
"0.8.8a" => "0024"
根據這個提示,我所用的cacti版本是0.8.7g,所以把xml檔案用記事本開啟,把hash_**0021都改成這個了。改了版本號後,順利匯入。
參考文章:

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29820633/viewspace-1978501/,如需轉載,請註明出處,否則將追究法律責任。

相關文章