Nagios (tested with version 3.0.6).
Nagios(测试了3.0.6版本)。
Nagios-plugins (tested with version 1.4.13)
Nagios-plugins(测试了1.4.13版本)
Nagios has a built-in notification system.
Nagios内置了一个通知系统。
Next, verify the sample Nagios configuration files.
接下来,验证示例Nagios配置文件。
Nagios offers pager and E-mail notifications by default.
在缺省情况下,Nagios提供了寻呼机和电子邮件通知方式。
Installing and configuring a basic Nagios setup for alerts.
安装和配置基本Nagios设置以执行报警。
Then, compile the Nagios source code, as shown in Listing 5.
然后,编译nagios源代码,如清单5所示。
After restarting Nagios, the service shows up under localhost.
重启Nagios之后,将在localhost下显示该服务。
When you restart Nagios, you now can do alerts on Ganglia metrics!
重启Nagios 时,现在可以根据Ganglia 指标发出警告!
Navigate to the Nagios Web site and download Nagios from this site.
导航到NagiosWeb站点并从该站点下载Nagios。
Then, extract the Nagios source code tarball, as shown in Listing 4.
然后,解压缩nagios源代码tarball,如清单4所示。
We'll document implementation of a Nagios passive check in a future article.
我们将在后续的文章中说明Nagios被动检查的实现。
I need to tell Nagios that my configuration files are going to go in there.
我需要通知Nagios我的配置文件将放在哪里。
Storing information from Nagios in a database will allow for quicker retrieval.
将来自nagios的信息存储到数据库能加快检索速度。
Run the Nagios configure script next, passing the name of the group you created.
接下来运行Nagios配置脚本,传递创建的组名。
Add both the nagios user and the apache user to this group, as shown in Listing 2.
向此组添加nagios用户和apache用户,如清单2所示。
When finished, you restart Nagios and you can see that I can now view my switch entries.
完成后,重启nagios,您会发现现在我可以查看交换机了。
The final step of Nagios configuration is definition of services for the configured hosts.
Nagios配置的最后一步是为配置的主机定义服务。
While running naginstall.sh, you are prompted for the user that Nagios should send alerts to.
运行naginstall . sh时,提示Nagios应该发送警告的用户。
Create the /usr/local/nagios/etc/dallas/ganglia-services.cfg file and add the services to it
创建 /usr/local/nagios/etc/dallas/ganglia-services.cfg文件并添加服务
This is useful for processing security alerts as well as redundant and distributed Nagios setups.
这对于处理安全性警告以及冗余和分布式Nagios 设置都很有用。
You will need to modify sample scripts in the eventhandlers subdirectory of the Nagios distribution.
您需要修改Nagios发布版的eventhandlers子目录中的示例脚本。
Part 2 in this two-part series explores setting up Nagios and integrating it with Ganglia, including
这个两部分系列的第二部分将探究如何设置Nagios并将其与Ganglia 整合在一起,内容包括
The NOC can be alerted of system failures or see a shiny red error light on the Nagios Web interface.
NOC可以收到系统故障报警或者在Nagiosweb界面上看到一个闪亮的红色错误指示灯。
Nagios can also assume a service is down if it has not received notifications in some period of time.
如果经过一段时间还没有接收到来自某个服务的通知,Nagios还可以假定该服务已经停止。
Then, install the Nagios web config file in the Apache conf.d directory by typing make install-webconf.
然后,通过输入make install - webconf在Apacheconf . d目录安装Nagiosweb配置文件。
In my experience, most packages that are as successful as Nagios and Ganglia are relatively easy to install.
以我的经验看来,像Nagios和Ganglia这样成功的大部分包都很容易安装。
While they give you the basic command-line options, you can add other options as listed in the Nagios Plugin Manual.
除了它们提供基本的命令行选项外,还可以添加nagiosPlugin Manual内所列的其他选项。
Nagios will use the global thresholds for flap detection if you do not specify host - or service-specific thresholds.
如果没有特定于主机和服务的限值,Nagios将会使用全局限值来进行震荡检测。
Extract the Nagios plug-ins source code tarball and then compile and install the plug-ins, as shown in Listing 8.
解压缩nagios插件源代码tarball,然后编译和安装这些插件,如清单8所示。
应用推荐