Download the PHP package cytopia/check_php without Composer

On this page you can find all versions of the php package cytopia/check_php. 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 check_php

check_php

check_php is a POSIX compliant nagios plugin that will check for PHP startup errors (-s), missing PHP modules (-m), misconfigured directives in php.ini (-c) and for available PHP updates (-u). This plugin supports performance data (error and warning counts over time) and long output (exact detail about all problems).

Build Status Latest Stable Version Total Downloads Latest Unstable Version License POSIX Type

Nagios Configuration | Icinga2 Configuration | Usage | Examples | License | Contributors | Awesome


Awesome-Nagios-Plugins Find more plugins at Awesome Nagios
Icinga Exchange Find more plugins at Icinga Exchange
Nagios Exchange Find more plugins at Nagios Exchange

Requirements
Program Required Description
bourne shell (sh) yes The whole script is written in pure bourne shell (sh) and is 100% Posix compliant
check_by_ssh yes This nagios plugin is used as a wrapper to check on remote hosts
wget, curl or fetch Optional Either one of them is required if you want to check against PHP updates. (-u)
Features
Motivation

If you have to take care about many servers which have PHP installed you can use this plugin to make sure that all servers or all groups of server use the same configuration with the same compiled modules and are always up to date.

1. Nagios Configuration

1.1 Command definition

In order to check php on remote servers you will need to make use of check_by_ssh.

1.2 Service definition

In the above command definition there is only one argument variable assigned to check_php: $ARG1. So you can easily assign all required arguments to this single variable in the service definition:

2. Icinga2 Configuration

2.1 Command definition

2.2 Service definition example (using apply)

2.3 Host object definition

3. Usage

Each argument allows you to specify which severity should be triggered (<w|e>), where w triggers a warning and e triggers an error. Arguments that can be used multiple times (-m and -c) can of course use different severities each time. All severities will be aggregated and the highest severity (error > warning) will determine the final state.

4. Examples

Checking against prefered timezone and compiled module mysql

Checking for PHP startup errors

Combine multiple module checks

Checking for PHP Updates (OK)

Checking for PHP Updates (Updates available)

Checking for PHP Updates (Able to differentiate between PHP 5.4, 5.5 and 5.6)

A lot of options combined

5. License

license

6. Contributors

7. Awesome

Added by the following Awesome lists:


All versions of check_php with dependencies

PHP Build Version
Package Version
No informations.
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 cytopia/check_php contains the following files

Loading the files please wait ....