Chinaunix

标题: Nagiosgraph安装问题 [打印本页]

作者: chdprince    时间: 2014-05-08 20:12
标题: Nagiosgraph安装问题
本帖最后由 chdprince 于 2014-05-08 20:13 编辑

各位大神,Nagios已经可以正常运行,监控都是好的,但是使用源码包安装nagiosgraph的时候使用./install.pl --check-prereq检查环境发现如下错误,请帮忙给点思路:
  1. [root@RHEL-6 nagiosgraph-1.5.1]# ./install.pl --check-prereq
  2. checking required PERL modules
  3.   Carp...1.11
  4.   CGI...3.51
  5.   Data::Dumper...2.124
  6.   Digest::MD5...2.39
  7.   File::Basename...2.77
  8.   File::Find...1.14
  9.   MIME::Base64...3.08
  10.   POSIX...1.17
  11.   RRDs...1.3008
  12.   Time::HiRes...1.9721
  13. checking optional PERL modules
  14.   GD...2.44
  15.   Nagios::Config... ***FAIL***
  16. checking nagios installation
  17.   found nagios exectuable at /usr/local/nagios/bin/nagios
  18.   found nagios init script at /etc/init.d/nagios
  19. checking web server installation
  20.   found apache executable at /usr/sbin/httpd
  21.   found apache init script at /etc/init.d/httpd
复制代码
上面代码中Nagios::Config... ***FAIL***可能涉及到哪些原因呢?
作者: r2007    时间: 2014-05-08 21:06
缺Nagios::Config模块,到cpan上找找。
作者: chdprince    时间: 2014-05-09 10:22
回复 2# r2007
你好,能说具体点吗,找到之后该怎么解决呢,对Perl不熟,先谢了。


   
作者: r2007    时间: 2014-05-09 10:54
回复 3# chdprince
我也不懂perl你可以到perl版查查怎么安装模块。

   
作者: ccjsj1    时间: 2016-04-24 00:31
回复 1# chdprince

步骤:cpan 回车 -> 安装 install Nagios::Config (主机可以上网)




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2