Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2542855
  • 博文数量: 271
  • 博客积分: 6659
  • 博客等级: 准将
  • 技术积分: 3141
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-17 10:24
文章分类

全部博文(271)

文章存档

2016年(2)

2015年(12)

2014年(7)

2013年(19)

2012年(22)

2011年(81)

2010年(128)

分类: LINUX

2010-10-02 01:39:09

Error: XML: Hash version does not exist.

将新版本到处的cacti模板导入到旧版本的时候,就会报Error: XML: Hash version does not exist.,解决的办法是修改xml里面的相关hash值就可以了。

以下是cacti xml hash的一些说明:

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.
 

List of Versions
  1. "0.8.4"  => "0000",   
  2. "0.8.5"  => "0001",   
  3. "0.8.5a" => "0002",   
  4. "0.8.6"  => "0003",   
  5. "0.8.6a" => "0004",   
  6. "0.8.6b" => "0005",   
  7. "0.8.6c" => "0006",   
  8. "0.8.6d" => "0007",   
  9. "0.8.6e" => "0008",   
  10. "0.8.6f" => "0009",   
  11. "0.8.6g" => "0010",   
  12. "0.8.6h" => "0011",   
  13. "0.8.6i" => "0012",   
  14. "0.8.6j" => "0013",   
  15. "0.8.7"  => "0014",   
  16. "0.8.7a" => "0015",   
  17. "0.8.7b" => "0016",   
  18. "0.8.7c" => "0017",   
  19. "0.8.7d" => "0018"  
  20. "0.8.7e" => "0019"  

 For the example above, this template was exported with Cacti 0.8.7d.

所以需要导入新版cacti模板的时候,只需要修改hash里面的version相关字段即可。

参考:

将当前版本的版本号字段《仅4位》在XML中检索全部并替换为旧的版本号

阅读(2762) | 评论(0) | 转发(0) |
0

上一篇:Cacti监控Mysql

下一篇:cacti 监控apache 性能

给主人留下些什么吧!~~