Nagios Core 4.x 新特性

发布时间:2020-07-22 22:53:35 作者:zjyklwg117
来源:网络 阅读:1545

What's New in Nagios Core 4.x


Nagios Core 4.x 新特性Up To: Contents
Nagios Core 4.x 新特性 See Also: Known Issues

Nagios Core 4.x 新特性 Important: Make sure you read through the documentation and the FAQs at support.nagios.com before sending a question to the mailing lists.

注意:在你发送问题给邮件列表之前,请确定你已经通读了文档和在support.nagios.com上面的FAQs。

Change Log 更新记录

The change log for Nagios can be found online at https://www.nagios.org/development/history or in the Changelog file in the root directory of the source code distribution.

在线的更新记录在https://www.nagios.org/development/history ,在发布的源代码根目录的Changelog文件内也有更新记录 。

Changes and New Features 变更内容与新特征

  1. Performance Improvements:

    改善的表现

    The performance improvements in Nagios Core 4 come primarily from the following areas:

    Nagios Core 4 的改善主要体现在以下几个方面:


Object Definitions: The following changes have been made to object definitions:

对象定义:有下面的改变:

Object Behavior:

对象行为:

Configuration: The following changes have been made to the main Nagios Core configuration, nagios.cfg:

Macros:

Query Handler: The query handler is a general purpose communication mechanism that allows external entities to communicate with Nagios Core in a well-defined manner. As of this writing, all communication with the query handler takes place through a Unix-domain socket whose location is defined by the query_socket configuration variable. There are currently 5 built-in query handlers. More information about the query handler interface, including an introduction to creating a custom query handler, can be found in the source-supplied documentation.

Core Workers: Previously, all host and service checks were performed by the full Nagios Core process. This required forking the Nagios Core process for every check. The full Nagios Core process includes a lot of things that are not required to actually perform the check, including check scheduling, downtime handling, processing external commands, etc. As a result, forking the Nagios Core process was much slower than was necessary. When the actual check was run, the forked process again forked a shell to run the check and the shell forked to run the plugin. In addition, disk files were used as the inter-process communication (IPC) mechanism between the forked Nagios process doing the checking and the main Nagios process handling the check results. In Nagios Core 4, the process of performing host and service checks is now accomplished using a lightweight worker processes. Standard worker processes start up with the main Nagios Core process and additional, special-purpose workers, can be started at any time after Nagios Core starts. If the check command is "simple" (no shell escapes), the worker process can run the command directly, avoiding the 2 additional forks previously required. Also in Nagios Core 4, the worker processes report the check results to the main Nagios Core process using in-memory IPC mechanisms (the query handler interface), eliminating the disk I/O bottleneck that used to be an issue in large installations. When a worker process registers with the main Nagios Core process, it tells Nagios Core what checks it will handle. This feature allows external authors to create special-purpose workers which are optimized to perform certain checks. A sample special-purpose ping check worker is included with the Nagios Core source code in the worker/ping subdirectory. More information about workers, including an introduction to creating custom workers can be found in the source-supplied documentation. Nagios Event Radio Dispatcher (NERD): The Nagios Event Radio Dispatcher (NERD) is a query handler based service that streams Nagios Core events to the subscriber. Currently, there are three channels that can be subscribed to: hostchecks, servicechecks and opathchecks. libnagios: libnagios is a library of functions that can be used by developers of query handlers and worker processes. libnagios currently contains the following components.

Documentation: Documentation of Nagios Core internals is now provided as part of the source distribution. To create an HTML version of this documentation run 'make dox' from the root of the source distribution tree. The doxygen utilities must be installed to make this documentation. Tests: A much more complete test suite is now incuded with the Nagios Core source distribution. RPM Spec File: The RPM spec file has been completely overhauled to support more current standards. Deprecated Features: Extended Host and Service Information - The hostextinfo and serviceextinfo objects are now deprecated and should not be used. Support for them will be removed in a future version. The same information specified in the hostextinfo and serviceextinfo objects can be specified in the host and service object respectively. -x/--dont-verify-paths command line option (Don't check for circular object paths) - Because configuration checking is now so much faster, the option to skip checking for circular object paths has been deprecated. The following configuration variables have been deprecated: check_result_reaper_frequency, max_check_result_reaper_time, sleep_time, external_command_buffer_slots, command_check_intervalObsoleted Features:

Miscellaneous:



推荐阅读:
  1. 删除文档
  2. iOS超级签系统用设备udid自动安装方式流程

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

through change online

上一篇:质量管理:测试基础架构图

下一篇:Using Extensions in OpenGL(使用OpenGL扩展)

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》