分类: LINUX
2007-08-15 15:10:18
process_performance_data=1
service_perfdata_command=process-service-perfdata #默认此句被注释掉了 |
process_perf_data 1 |
define command{ command_name process-service-perfdata command_line /usr/local/nagios/libexec/process_perfdata.pl } |
./configure --with-rrdtool=/usr/local/rrdtool/bin/rrdtool --with-perfdata-dir=/usr/local/nagios/share/perfdata/ make all make install |
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg |
/etc/init.d/nagios restart |
chinaunix网友2010-09-13 15:41:11
RRD Database/usr/local/nagios/share/perfdata//localhost/uptime.rrd not found 我大部分都可以看到图,只有几个不可以,提示上面的这个错误,能详细给个解释吗?我配置好了process_perfdata.cfg.而且process_perf_data 1在每一个都添加了,我使用的是复制粘贴添加。为什么之后几个出现了这样的错误。确实也没出现xml文件,依照你的意识是数据库文件配置出错,那在哪里?能具体指出是那个配置文件吗?谢谢!
chinaunix网友2009-03-13 10:32:33
Initalising Using /usr/local/nagios/share/perfdata// RRDTool /usr/local/rrdtool/bin/rrdtool found. RRDTool /usr/local/rrdtool/bin/rrdtool is executable PHP Function proc_open is enabled PHP Function fpassthru is enabled PHP Function xml_parser_create is enabled PHP zlib Support found. PHP GD Support found. RRD Base Directory /usr/local/nagios/share/perfdata// found. Hostname localhost is set. Directory /usr/local/nagios/share/perfdata//localhost not found.
chinaunix网友2008-12-30 17:49:52
PHP GD Support no found 是因为php-gd模块没装,如果你的系统支持yum,可直接用yum install -y php-gd安装,否则可能只有编译安装了。
chinaunix网友2008-12-27 19:16:07
[root@rhel5 pnp-0.4.12]# rpm -qa | grep php php-common-5.1.6-5.el5 php-ldap-5.1.6-5.el5 php-5.1.6-5.el5 php-cli-5.1.6-5.el5 [root@rhel5 pnp-0.4.12]# rpm -qa | grep gd gdbm-1.8.0-26.2.1 gdb-6.5-16.el5 gd-devel-2.0.33-9.3.fc6 gdbm-devel-1.8.0-26.2.1 sysklogd-1.4.1-39.2 gdm-2.16.0-30.el5 gd-2.0.33-9.3.fc6 gd 和 php 都装了还是 Initalising Using /usr/local/nagios/data// RRDTool /usr/local/rrdtool-1.3.5/ found. RRDTool /usr/local/rrdtool-1.3.5/ is executable PHP Function proc_open