nagios配置pnp4nagios报错“Please check the documentation for information about the following error”
来源:互联网 发布:matlab 矩阵方程 命令 编辑:程序博客网 时间:2024/06/07 02:00
报错如下
修改如下配置
/usr/local/nagios/etc/nagios.cfg配置文件
#修改值为1
process_performance_data=1
#取消下面行的注释
host_perfdata_command=process-host-perfdata
service_perfdata_command=process-service-perfdata
/usr/local/nagios/etc/objects/commands.cfg配置文件
注释配置文件中的process-host-perfdata和process-service-perfdata
添加如下配置
define command{
command_name process-host-perfdata
command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
}
define command{
command_name process-service-perfdata
command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl
}
/usr/local/pnp4nagios/etc/配置修改
cp misccommands.cfg-sample misccommands.cfg
cp rra.cfg-sample rra.cfg
cp nagios.cfg-sample nagios.cfg
/usr/local/pnp4nagios/etc/pages配置修改
cp web_traffic.cfg-sample web_traffic.cfg
/usr/local/pnp4nagios/etc/check_commands配置修改
cp check_all_local_disks.cfg-sample check_all_local_disks.cfg
cp check_nrpe.cfg-sample check_nrpe.cfg
cp check_nwstat.cfg-sample check_nwstat.cfg
复制鼠标悬停图标文件
cp /usr/src/pnp4nagios-0.6.24/contrib/ssi/* /usr/local/nagios/share/ssi/
最后
重启nagios、httpd、npcd服务
查看报错的目录/usr/local/pnp4nagios/var/perfdata是否有生成的数据文件
- nagios配置pnp4nagios报错“Please check the documentation for information about the following error”
- php安装报错:PHP configure: error: build test failed. Please check the config.log
- php安装报错:PHP configure: error: build test failed. Please check the config.log
- vivado仿真出错: Please check the Tcl console or log files for more information.
- git 报错 gitThere is no tracking information for the current branch. Please specify which branch you w
- unity3d报错:Internal compiler error. See the console log for more information. output was: ......
- FATAL ERROR: please install the following Perl modules before executing
- configure: error: APR not found. Please read the documentation
- configure: error: APR not found. Please read the documentation
- configure: error: APR not found . Please read the documentation
- configure: error: APR not found . Please read the documentation
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro
- 安装PHPfailed---configure: error: build test failed. Please check the config.log for details
- Trac 不能登陆:Authentication information not available. Please refer to the installation documentation
- nagios报错 It appears as though you do not have permission to view information for any of the hosts yo
- 解决数据库连接报错Listener refused the connection with the following error: ORA-12505
- 解决数据库连接报错Listener refused the connection with the following error: ORA-12505
- configure: error: mysql configure failed. Please check config.log for more information.
- 236. Lowest Common Ancestor of a Binary Tree
- 十 项目1 (1)
- springmvc 加载图片地址字典文件 mysql 补齐 图片地址
- Android 在页面中显示打包日期
- java对字符的编码处理
- nagios配置pnp4nagios报错“Please check the documentation for information about the following error”
- pod 使用出现/Podfile.lock: No such file or directory问题
- Android去除显示的标题方法
- VHDL语法总结
- 第十周-项目2-二叉树的层次遍历算法
- 数据结构上机实践第11周项目3
- 拓扑排序(邻接矩阵)
- 非常好用的 unwind segue
- NPDP 产品经理国际资格认证