标签:nagiosgraph
./install.pl --check-prereq
checking required PERL modules
Carp...1.11
CGI...3.51
Data::Dumper...2.124
Digest::MD5...2.39
File::Basename...2.77
File::Find...1.14
MIME::Base64...3.08
POSIX...1.17
RRDs...1.4007
Time::HiRes...1.9721
现在已经弄好了,主要问题是el5的包装好后不能locate到RRDs.pm,然后导致RRDs检查失败
然后到下面的链接下了el6的包,安装完后再检查就没有错了。
http://opensource.hqcodeshop.com/CentOS/6%20x86_64/RRDtool/
rrdtool-1.4.7-1.el6.x86_64.rpm
rrdtool-perl-1.4.7-1.el6.x86_64.rpm
GD失败也是一样,先删除el5的包,然后装个el6的新包即可
rpm -i perl-GD-2.45-1.el6.rfx.x86_64.rpm
安装过程中还遇到了No data in rrd directory /usr/local/nagiosgraph/var/rrd 的错误
后来找到原因,是因为nagiosgraph需要定义一个command,而这个定义我是follow网上一个教程的,然后里里面的commnad_line定义的command和我安装的版本不一致。所以根本找不到insert.pl
define command {
command_name process-service-perfdata-for-nagiosgraph
command_line /usr/local/nagiosgraph/bin/insert.pl
}
本文出自 “DevOps” 博客,请务必保留此出处http://darcys.blog.51cto.com/9354491/1549684
Centos 6安装nagiosgraph,解决RRDs, GD检查失败,以及rrds no data的问题
标签:nagiosgraph
原文地址:http://darcys.blog.51cto.com/9354491/1549684