2017 © Pedro Peláez
 

symfony-bundle monitor-bundle

Service Monitoring bundle

image

snide/monitor-bundle

Service Monitoring bundle

  • Thursday, July 31, 2014
  • by pdenis
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SnideMonitorBundle

Symfony 2 monitoring bundle based on Test class, (*1)

Build Status Scrutinizer Quality Score, (*2)

features

  • Test class based
  • Application management & chaining (via json exposition)
  • Dashboard

Installation

Installation by Composer

If you use composer, add MonitorBundle bundle as a dependency to the composer.json of your application, (*3)

    "require": {
        ...
        "snide/monitor-bundle": "dev-master"
        ...
    },

Add SnideMonitorBundle to your application kernel., (*4)

// app/AppKernel.php
<?php
    // ...
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Snide\MonitorBundle\SnideMonitorBundle(),
        );
    }

The bundle needs to copy the resources necessary to the web folder. You can use the command below:, (*5)

    php app/console assets:install

Overview

Dashboard

Dashboard, (*6)

Applications list

Applications list, (*7)

Application tests

Application test, (*8)

Define your test service

To define tests services, add "snide_monitor.test" tag like this :, (*9)

<service id="acme_demo.redis" class="Snide\Monitoring\Test\Redis" public="false">
    <tag name="snide_monitor.test" />
    <argument>Redis local instance</argument>
    <argument>127.0.0.1</argument>
    <argument>6379</argument>
</service>

Chaining APP

You can add application reference & define its api URL (Example : /dashboard.json). Your application now monitor other applications & tests appear on your dashboard., (*10)

Full configuration

    snide_monitor:
        timer: XX # Dashboard will be refreshed every XX seconds
        repository:
            type: yaml # only Yaml type is defined
            application:
                filename: /path/to/your/yaml/save/file.yml

The Versions

31/07 2014

dev-master

9999999-dev http://github.com/pdenis/MonitorBundle

Service Monitoring bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pascal DENIS

bundle symfony monitoring