rrdtool是基于Nagios正确安装的基础上进行的,Nagios的安装请移步到前面文章.

方法一:

1.依赖包检测

#rpm -q perl perl-devel cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel

#yum install perl perl-devel cairo-devel libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel

2.编译安装

# tar -zxvf rrdtool-1.4.5.tar.gz

# cd rrdtool-1.4.5

# ./configure --prefix=/usr/local/rrdtool

# make 

# make install

3.验证是否安装成功

# /usr/local/rrdtool/bin/rrdtool -v

方法二:

直接用yum安装

#yum -y install rrdtool

鸣谢:本人参考了多篇文章后总结而得,在此感谢各位网络分享者!