ubuntu 安装 Nagios服务器监控软件的步骤如下:
1, sudo apt-get install nagios3 ,尝试 http://你的网站/nagios3 , 会发现需要认证。
2, 创建登录用户, sudo htpasswd -c /etc/nagios3/htpasswd.user yaozer (你的用户名)
这样就能登录 http://你的网站/nagios3 了 ,但是会无法显示服务器运行信息,It appears as though you do not have permission to view information for any of the services you requested…, 接着做第三步,增加cgi权限,
3, sudo gedit /etc/nagios3/cgi.cfg , 把所有形如:authorized_for_configuration_information=nagiosadmin, authorized_for_system_commands=nagiosadmin, 之类 的改成 authorized_for_configuration_information=nagiosadmin,yaozer (你的用户名).
4. sudo /etc/init.d/nagios3 restart , sudo /etc/init.d/apache2 restart ,重启一切OK。
作者:yaozer 原文链接:ubuntu 安装 Nagios服务器监控软件
欢迎转载, 非常感谢你能注明作者和原始出处。
Hi, I just ran across your weblog via yahoo. Your viewpoint is truly relevant to my life at this moment, and I’m really pleased I found your website.
Anyhow, I am blown away by your concept here, I will definitely subscribe to your RSS feed!
Woah! I’m really loving the template/theme of this website. It’s simple, yet effective. A lot of times it’s hard to get that “perfect balance” between usability and visual appeal. I must say you’ve done a very good job with this. In addition, the blog loads extremely fast for me on Opera. Excellent Blog!
We stumbled over here different website and thought I should check things out. I like what I see so now i’m following you. Look forward to checking out your web page again.