Download the PHP package zend-patterns/zendservernagiosplugin without Composer
On this page you can find all versions of the php package zend-patterns/zendservernagiosplugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zend-patterns/zendservernagiosplugin
More information about zend-patterns/zendservernagiosplugin
Files in zend-patterns/zendservernagiosplugin
Package zendservernagiosplugin
Short Description Zend Server Nagios pugin
License BSD-3-Clause
Informations about the package zendservernagiosplugin
Zend Server Nagios plugin
Introduction
Nagios� Core� is an Open Source system and network monitoring application. It watches hosts and services that you specify, alerting you when things go bad and when they get better.
Some of the many features of Nagios Core include:
- Monitoring of network services (SMTP, POP3, HTTP, NNTP, PING, etc.)
- Monitoring of host resources (processor load, disk usage, etc.)
- Simple plugin design that allows users to easily develop their own service checks
- Parallelized service checks
- Ability to define network host hierarchy using "parent" hosts, allowing detection of and distinction between hosts that are down and those that are unreachable
- Contact notifications when service or host problems occur and get resolved (via email, pager, or user-defined method)
- Ability to define event handlers to be run during service or host events for proactive problem resolution
- Automatic log file rotation
- Support for implementing redundant monitoring hosts
- Optional web interface for viewing current network status, notification and problem history, log file, etc.
This PHP ZF2 application can be used as a Nagios plugins to monitor main Zend Server metrics. The plugin is based on a command line tool which returns the severity level of the given probe. It also yield a message that will be recorded into Nagios. By exemple the probe "clusterstatus" will return a warning if 33% of nodes are down within your cluster.
Command line operations and probes definitions
A scripts for Windows and Linux is provide in the /bin directory.
To invoke the Nagios plugin command simply use :
php /path_to_plugin/index.php nagiospluging
clusterstatus (no parameter) : Return the status of your cluster. Severity depends on the number of nodes that are up or down.
audittrail [--delay=] [--limit=] : Return the severity of the last audit trail. --delay : the time period (in second) in which the probe will looking for audit trails. It should be synchronized with the check_interval value of Nagios. --limit : the maximal number of item that will be checked out. The severity level is based on the severity of the most critical item that have been collected.
notifications (no parmeters) : This probe look into the current notifications sent by the cluster. The severity level is based on the severity of the most critical notification.
license (no parameter) : This probe check the license validity. The severity level is based on the license time validity remaining
events [--delay=] [--limit=] : Return the severity of the last monitor events. --delay : the time period (in second) in which the probe will looking for events.It should be synchronized with the check_interval value of Nagios. --limit : the maximal number of item that will be checked out. The severity level is based on the severity of the most critical event that have been collected.
Setting Nagios threshold
All probe manage thresholds in order to define the severity level. Thes thresholds are set in the /config/zendservernagiosplugin.config.php file. The way to setting theshold is very easy :
All versions of zendservernagiosplugin with dependencies
zendframework/zend-db Version =2.2.5
zenddevops/webapi Version 1.3.*@dev