便民 发表于 2019-1-17 06:26:44

Nagios 安装总结(一)

久闻Nagios的大名,今天总算有机会测试一把。顺便总结一下出现的问题:

1. 安装环境:Virtual Box 3.2.4 + CentOS5.4

2. 按照以下链接,可以顺利安装Nagios3.2.1, plug-ins, add-ons三部分
(http://nagios.sourceforge.net/docs/3_0/quickstart.html; Yahoon's: http://yahoon.blog.运维网.com/13184/41300)

3. 安装完成后出现的问题:
a. 访问http://localhost/nagios出现Permission Deny (403) 错误。找了半天权限的问题,才发现是因为/etc/httpd/conf/httpd.conf中DirectoryIndex中没有指明index.php,而/usr/local/nagios/share/的Nagios主目录下没有index.html, 只有index.php。修改DirectoryIndex后重启Apache就OK了;
b. 因为没有安装php,Nagios主页面出来后,链接会出现
页: [1]
查看完整版本: Nagios 安装总结(一)