个人工具
登录
查看“UbuntuHelp:Nagios3”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:Nagios3”的源代码
来自Ubuntu中文
←
UbuntuHelp:Nagios3
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/Nagios3}} {{Languages|UbuntuHelp:Nagios3}} This page describes how to install and configure Nagios 3 on Ubuntu 9.04. This guide was done using Ubuntu 9.04. == Introduction == Nagios is an open source host, service and network monitoring program. The official homepage is http://nagios.org/ == Preparations == You will first manually install Nagios 3 from the Ubuntu main repositories. <pre><nowiki> sudo apt-get install -y nagios3 </nowiki></pre> This will install and configure Nagios 3 along with all the required dependencies including Apache2, Postfix and others. Postfix is used to sending e-mail alerts. During the installation you will be promted to select how you want to configure Postfix. For most setups you will select 'Internet Site' which is the default select. If you require other setup, please refer to the [[UbuntuHelp:Postfix|Postfix]] support page. Once Nagios has been installed you will need to create user accounts so you can login to the Nagios monitoring site. The site will be installed locally at http://localhost/nagios3 Create a 'nagiosadmin' user account so that you can login and administer the site. <pre><nowiki> sudo htpasswd -c /etc/nagios3/htpasswd.users nagiosadmin </nowiki></pre> Enter a strong password when prompted. You now have a very basic working installation of Nagios on your system. It has been configured to monitor your local machine. === Post Install Tasks === Nagios 3's configuration files are located in /etc/nagios3 If you need to add new hosts or make changes to existing ones you can find them at: /etc/nagios3/conf.d All the plugin's are located at: /etc/nagios-plugins/config You might see a couple of errors which can be easily fixed. The first might be an SSH critical error if you don't have an OpenSSH server running on your local machine. You can either install [[UbuntuHelp:OpenSSH|OpenSSH]] server or remove this error warning by editing the file in /etc/nagios3/conf.d/hostgroups_nagios2.cfg and removing the localhost from the member. The second might be a hard disk check critical error related to the way Gnome is designed and how permissions are assigned to the .gvfs file in each users home directory. You can either give the nagios user permission to that file or just ignore the fine during check. TO ignore the file, edit the disk.cfg file located in /etc/nagios-plugins/config and add the arguments [-A -i '.gvfs'] at the end of the command line arguments for the command check_disk and check_all_disks. ---- [[category:CategoryInternet]] [[category:CategoryNetworking]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:Nagios3
。