升级weathermap 今天通过升级weathermap,由于原来的版本0.82升级到0.92,终于把weathermap调试成功。
   感觉原来的weathermap调试不成功,主要是对weathermap的.conf配置不熟悉,weathermap的editor.不是很智能,0.92通过editor很简单地通过拖放,单击,pick_from_cacti就可以完成复杂的配置。
主要的是注意php.ini中memory_limit=32M,内存不能小于32M,修改editor-config.php文件中的
$cacti_base=/var/www/html/" //cacti的运行目录
$cacti_url=" http://10.155.99.244/" ,cacti的运行地址,特别注意地址要用“/”结束。 最后是到cacti的web网面中的console->setting->misc中设置
1、"page style"->thumbnail overview
2、"Thumbnail maximum size"->250
3、refresh time -> 5seconds
4、output format-> png(defalut)
5、map rendering interal->every poller cycle(default)
6、quiet logging ->quiet weathermap默认输出日志非常的多,选择安静模式可大量减少日志写盘,提高性能。