Chinaunix首页 | 论坛 | 博客
  • 博客访问: 122405
  • 博文数量: 31
  • 博客积分: 2551
  • 博客等级: 少校
  • 技术积分: 435
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-18 15:52
文章分类

全部博文(31)

文章存档

2011年(5)

2010年(4)

2009年(12)

2008年(10)

我的朋友

分类: LINUX

2008-08-08 11:09:57

安装的rrdtool 为1.2.27,采用rpm包的方式,源码安装1堆需求,诡异;
之后绘图中文device为乱码,修改/etc/sysconfig/i18n的默认lang为zh_CN:GB2312, 重启服务器即可正常显示;

记录下最新cacti使用的spine安装:


shell>aclocal
shell>libtoolize --force  (glibtoolize --force on Max OS)
shell>autoheader
shell>autoconf
shell>automake
shell>./configure
shell>make
shell>make install

Assuming, you've managed to install Spine correctly, you will have to configure it. The configuration file may be placed in the same directory as Spine itself or at /etc/Spine.conf.

DB_Host	127.0.0.1 or hostname (not localhost)
DB_Database cacti
DB_User cactiuser
DB_Password cacti
DB_Port 3306
========================
cacti 修改成1分钟监控:

1. data_template_data表的rrd_step 由原来的300修改为60;
2. data_template_rrd 表的rrd_heartbeat 字段由原来的600修改为120;
3. 当然别忘了修改cron以及web上面的poller interval配置;
作完这些后,在web上rebuild poller, 已生成的rra文件需删除重建才可。
(cacti 0.8.7b,spine0.8.7c)
阅读(1429) | 评论(0) | 转发(0) |
0

上一篇:转:bash的算术运算

下一篇:gpg

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