Skip to content

Profideo/MonitorBundle

Repository files navigation

ProfideoMonitorBundle

This bundle add new checks to the LiipMonitorBundle.

Installation

Install with composer:

$ composer require profideo/monitorBundle

Note: The LiipMonitorBundle will be automatically installed.

Then register the bundles in the AppKernel.php file:

public function registerBundles()
{
    $bundles = array(
        // ...
            new Liip\MonitorBundle\LiipMonitorBundle(),
            new Profideo\MonitorBundle\ProfideoMonitorBundle(),
        // ...
    );

    return $bundles;
}

Read more about the LiipMonitorBundle installation.

Enabling built-in health checks

To enable built-in health checks, add them to your config.yml

profideo_monitor:
    checks:
        table_row_count:
            security:
                tables:
                    - user
                    - role
                    - group
                min_rows: 1

Available Built-in Health Checks

See "Available Built-in Health Checks" of the LiipMonitorBundle.

See "Full Default Config" below for a list of all built-in checks and their configuration.

Running Checks

See "Running Checks" of the LiipMonitorBundle.

Full Default Config

profideo_monitor:
    checks:

        # Validate that database tables have a certain number of rows
        table_row_count:

            # Prototype
            name:
                tables:               [] # Required, Example: ["user", "role", "group"]
                min_rows:             ~ # Required
                max_rows:             ~

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages