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

LiipMonitorBundle

by liip

Integrates the LiipMonitor library into Symfony

No readme file found in bundle.
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.
liip_monitor:
enable_controller: false
view_template: ~
mailer:
enabled: false
recipient: ~ # Required
sender: ~ # Required
subject: ~ # Required
send_on_warning: true
default_group: default
checks:

# Grouping checks
groups:

# Prototype
name:

# Validate that a named extension or a collection of extensions is available
php_extensions: [] # Example: session.use_only_cookies: false

# Pairs of a PHP setting and an expected value
php_flags: # Example: session.use_only_cookies: false

# Prototype
setting: []

# Pairs of a version and a comparison operator
php_version: # Example: 5.4.15: >=

# Prototype
version: []

# Process name/pid or an array of process names/pids
process_running: ~ # Example: [apache, foo]

# Validate that a given path (or a collection of paths) is a dir and is readable
readable_directory: [] # Example: ["%kernel.cache_dir%"]

# Validate that a given path (or a collection of paths) is a dir and is writable
writable_directory: [] # Example: ["%kernel.cache_dir%"]

# Validate that a class or a collection of classes is available
class_exists: [] # Example: ["Lua", "My\Fancy\Class"]

# Benchmark CPU performance and return failure if it is below the given ratio
cpu_performance: ~ # Example: 1.0 # This is the power of an EC2 micro instance

# Checks to see if the disk usage is below warning/critical percent thresholds
disk_usage:
warning: 70
critical: 90
path: %kernel.cache_dir%

# Checks Symfony2 requirements file
symfony_requirements:
file: %kernel.root_dir%/SymfonyRequirements.php

# Checks to see if the OpCache memory usage is below warning/critical thresholds
opcache_memory:
warning: 70
critical: 90

# Checks to see if the APC memory usage is below warning/critical thresholds
apc_memory:
warning: 70
critical: 90

# Checks to see if the APC fragmentation is below warning/critical thresholds
apc_fragmentation:
warning: 70
critical: 90

# Connection name or an array of connection names
doctrine_dbal: ~ # Example: [default, crm]

# Connection name or an array of connection names
doctrine_mongodb: ~ # Example: [default, crm]

# Check if doctrine migrations are applied
doctrine_migrations:

# Example:
application_migrations:
configuration_file: %kernel.root_dir%/Resources/config/migrations.yml
connection: default

# Prototype
name:

# Absolute path to doctrine migrations configuration
configuration_file: ~ # Required

# Connection name from doctrine DBAL configuration
connection: ~ # Required

# Check if MemCache extension is loaded and given server is reachable
memcache:

# Prototype
name:
host: localhost
port: 11211

# Validate that a Redis service is running
redis:

# Prototype
name:
host: localhost
port: 6379
password: ~
dsn: ~

# Attempt connection to given HTTP host and (optionally) check status code and page content
http_service:

# Prototype
name:
host: localhost
port: 80
path: /
status_code: 200
content: ~

# Attempt connection using Guzzle to given HTTP host and (optionally) check status code and page content
guzzle_http_service:

# Prototype
name:
url: localhost
headers: Array
options: Array
status_code: 200
content: ~
method: GET
body: ~

# Validate that a RabbitMQ service is running
rabbit_mq:

# Prototype
name:
host: localhost
port: 5672
user: guest
password: guest
vhost: /
dsn: ~

# Checks the version of this app against the latest stable release
symfony_version: ~

# Checks if error pages have been customized for given error codes
custom_error_pages:
error_codes: [] # Required
path: %kernel.root_dir%
controller: %twig.exception_listener.controller%

# Checks installed composer dependencies against the SensioLabs Security Advisory database
security_advisory:
lock_file: %kernel.root_dir%/../composer.lock

# Validate that a stream wrapper or collection of stream wrappers exists
stream_wrapper_exists: [] # Example: ['zlib', 'bzip2', 'zip']

# Find and validate INI files
file_ini: [] # Example: ['path/to/my.ini']

# Find and validate JSON files
file_json: [] # Example: ['path/to/my.json']

# Find and validate XML files
file_xml: [] # Example: ['path/to/my.xml']

# Find and validate YAML files
file_yaml: [] # Example: ['path/to/my.yml']

# PDO connections to check for connection
pdo_connections:

# Prototype
name:
dsn: ~
username: ~
password: ~
timeout: 1

# Checks that fail/warn when given expression is false (expressions are evaluated with symfony/expression-language)
expressions:

# Example:
opcache:
label: OPcache
warning_expression: ini('opcache.revalidate_freq') > 0
critical_expression: ini('opcache.enable')
warning_message: OPcache not optimized for production
critical_message: OPcache not enabled

# Prototype
alias:
label: ~ # Required
warning_expression: ~ # Example: ini('apc.stat') == 0
critical_expression: ~ # Example: ini('short_open_tag') == 1
warning_message: ~
critical_message: ~
  • Merge pull request #173 from Soullivaneuh/patch-1
    By web-flow, 3 months ago
  • Move branch alias to 2.x
    By web-flow, 3 months ago
  • Merge pull request #171 from PM-Connect/feature/dsn
    By web-flow, 4 months ago
  • Support dsn connection strings for redis and rabbitmq
    By Marcus Speight, 4 months ago
  • Return command name (#168)
    By kbond, 5 months ago
  • Merge pull request #165 from liip/check-assets-enabled
    By web-flow, 5 months ago
  • make sure assets.packages is available when controller support is enabled
    By lsmith77, 5 months ago
  • Merge pull request #164 from liip/config-tweaks
    By web-flow, 5 months ago
  • Merge pull request #163 from liip/command-as-services
    By web-flow, 5 months ago
  • Merge pull request #166 from liip/fix-service-decoration
    By web-flow, 5 months ago
  • DefinitionDecorator has been deprecated in favor of ChildDefinition
    By lsmith77, 5 months ago
  • removed .class parameters
    By lsmith77, 5 months ago
  • moved swiftmailer config
    By lsmith77, 5 months ago
  • convert commands to services
    By lsmith77, 5 months ago
  • Merge pull request #161 from cordoval/patch-1
    By web-flow, 5 months ago
  • update to 7.2 on travis
    By web-flow, 5 months ago
  • revert the bump on diagnostics version
    By web-flow, 5 months ago
  • update to tagged zendframework/zenddiagnostics 1.1.0
    By web-flow, 5 months ago
  • Merge pull request #156 from liip/tweak_travis
    By web-flow, 5 months ago
  • tweak travis
    By lsmith77, 5 months ago
  • Merge pull request #159 from liip/cordoval-patch-1
    By web-flow, 5 months ago
  • make all services/alias public to please Symfony 4
    By lsmith77, 5 months ago
  • phpunit 6
    By lsmith77, 5 months ago
  • fix symfony 4.0 requirement problem
    By web-flow, 5 months ago
  • Merge pull request #153 from liip/cordoval-symfony-40
    By web-flow, 5 months ago
  • Symfony4 compatibility fixes
    By lsmith77, 5 months ago
  • ensure we have symfony4 compatible deps
    By lsmith77, 5 months ago
  • adding especial for 4.0
    By lsmith77, 6 months ago
  • adding travis
    By lsmith77, 6 months ago
  • we move to 4.0 constraints
    By lsmith77, 6 months ago