个人工具
登录
查看“UbuntuHelp:Nagios”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:Nagios”的源代码
来自Ubuntu中文
←
UbuntuHelp:Nagios
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/Nagios}} {{Languages|UbuntuHelp:Nagios}} This page describes how to set up Nagios on Ubuntu. Somewhat replaces the [[UbuntuHelp:Nagios2|Nagios2]] page. This guide was done using Ubuntu 7.10 (Gutsy Gibbon) Note that this information is no longer accurate for nagios3 (the latest version distributed with Karmic, etc.). See [[UbuntuHelp:Nagios3|Nagios3]]. == Introduction == Nagios is an open source host, service and network monitoring program. The official homepage is http://nagios.org/ == Preparations == If you are going to use mysql or pgsql for database store then do install that first. <pre><nowiki> sudo aptitude install mysql-server </nowiki></pre> And to make the db configuration easier, please install dbconfig-common first. If you don't, then you will have to set up the database manually. <pre><nowiki> sudo aptitude install dbconfig-common </nowiki></pre> === Shortcut for both === <pre><nowiki> sudo aptitude install dbconfig-common mysql-server </nowiki></pre> == Installation == Now it depends on what database you would like to use. The package name is nagios-<database> where database can be text, pgsql or mysql. So for installing with the mysql option use the following at the command line: <pre><nowiki> sudo apt-get install nagios-mysql </nowiki></pre> or use synaptic to install the package. === Shortcut === <pre><nowiki> sudo aptitude install dbconfig-common mysql-server sudo aptitude install nagios-mysql </nowiki></pre> == Initial configuration == * Set the password for the ''nagiosadmin'' user. That's all to get it running! Navigate to http://nagios_server/nagios2 and log in to see your systems monitor. By default it monitors the machine it runs on and it's gateway to the Internet. == Configurationfiles == * /etc/apache2/conf.d/nagios == See also == * [[UbuntuHelp:Nagios2|Nagios2]] * [[UbuntuHelp:Zenoss|Zenoss]] ---- [[category:CategoryInternet]] [[category:CategoryNetworking]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:Nagios
。