028-86922220

建站动态

根据您的个性需求进行定制 先人一步 抢占小程序红利时代

NagiosCore4.x新特性

What's New in Nagios Core 4.x


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

成都创新互联公司从2013年开始,先为万载等服务建站,万载等地企业,进行企业商务咨询服务。为万载企业网站制作PC+手机+微官网三网同步一站式服务解决您的所有建站问题。

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 Changelogfile 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:



文章名称:NagiosCore4.x新特性
URL地址:http://www.tsicrk.com/article/gjigio.html

其他资讯

让你的专属顾问为你服务

1.1765s