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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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:

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 [parameters]

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 :

=> Nagios severilty level (NAGIOS_CRITICAL, NAGIOS_WARNING, NAGIOS_NOTICE or NAGIOS_OK) Installation ------------ Using Git submodules -------------------- Clone the code from Github : git clone git://github.com/zendtech/ZendServerNagiosPlugin.git --recursive Install dependencies with Composer : composer install How to use it within Nagios ? --------------------------- Define the command into your /usr/local/nagios3/commands.cfg file: define command { command_name : zend-server- command_line : php /path_to_nagios_pluigin/index.php nagiosplugin [parameters] } Define the service into your host configuration (ie : /usr/local/nagios3/conf.d/local-xxx.cfg): define service { use generic-service host_name localhost service_description Zend_Server_Error check_command zend-server- } Then restart Nagio : /etc/init.d/nagios3 restart

All versions of zendservernagiosplugin with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
zendframework/zend-db Version =2.2.5
zenddevops/webapi Version 1.3.*@dev
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zend-patterns/zendservernagiosplugin contains the following files

Loading the files please wait ....