Developed with love by KnpLabs Hire us for your project!
15

LiipMonitorExtraBundle

by lexik

Liip Monitor Extra Bundle

This bundle is deprecated

This bundle aims to provide shareable and reusable Health Checks for the Liip Monitor Bundle.

The idea is that you fork this project and add your own health checks that you think they can useful for someone else project. For example the bundle now ships with one health check for PHP Extensions availability and of course we can add many more.

Installation

Add the following code to your deps file:

[LiipMonitorExtraBundle]
    git=git://github.com/liip/LiipMonitorExtraBundle.git
    target=bundles/Liip/MonitorExtraBundle

And then run the vendors install command:

$ ./bin/vendors install

Then open your autoload.php file and register the bundle namespace in case you haven't used any other Liip bundle before:

$loader->registerNamespaces(array(
    ...
    'Liip'             => __DIR__.'/../vendor/bundles',
    ...
));

Then register the bundle in the AppKernel.php file:

public function registerBundles()
{
    $bundles = array(
        ...
        new Liip\MonitorExtraBundle\LiipMonitorExtraBundle(),
        ...
    );

    return $bundles;
}

Usage

The bundle ships with a file called services.yml.sample inside its Resources folder. Just pick the services you want from there and add them to a place that suits your project, for example the App's config.yml file.

Contributions

Fork this project, add a health check and then open a pull request.

Creating new health checks

  1. Create your own Health Check class. To understand how health checks work and what they should do take a look at the Liip Monitor Bundle README.md file. Your new health check must go into the bundle's Check folder.
  2. Add the sample configuration for the service into the services.yml.sample file.
  3. Add your health check name and the description of what it does into the HEALTH_CHECKS.md file from this project. PLEASE DO SO ALPHABETICALLY.

Available Health Checks

To see a list of the health checks provided by this bundle please consult the file HEALTH_CHECKS.md.

Note to contributors

BY CONTRIBUTING TO THE LiipMonitorExtraBundle SOURCE CODE REPOSITORY YOU AGREE TO LICENSE YOUR CONTRIBUTION UNDER THE TERMS OF THE MIT LICENSE AS SPECIFIED IN THE 'LICENSE' FILE IN THIS DIRECTORY.

Copyright (c) 2012 Liip AG

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • Update README.md
    By web-flow, 1 year ago
  • Merge remote-tracking branch 'upstream/master'
    By cedric-g, 6 years ago
  • - fix CustomErrorPagesCheck file name
    By cedric-g, 6 years ago
  • add CustomErrorPageCheck
    By cedric-g, 6 years ago
  • fix spelling error, and wrong namespace
    By cedric-g, 6 years ago
  • add WritableDirectoryCheck
    By cedric-g, 6 years ago
  • add DepsEntriesCheck
    By cedric-g, 6 years ago
  • fixes README
    By videlalvaro, 6 years ago
  • improves contribution section
    By videlalvaro, 6 years ago
  • updates README
    By videlalvaro, 6 years ago
  • adds file with list of available health checks
    By videlalvaro, 6 years ago
  • adds license file
    By videlalvaro, 6 years ago
  • updates read me
    By videlalvaro, 6 years ago
  • adds PhpExtensionsCheck
    By videlalvaro, 6 years ago
  • adds bundle file
    By videlalvaro, 6 years ago
  • renames README file
    By videlalvaro, 6 years ago
  • first commit
    By videlalvaro, 7 years ago