Skip to content

Repository files navigation

Health board engine

License Build Status Scrutinizer Code Quality Code Coverage

Health board engine is app that performs all checks that we can set up in parameters.php. This system combines together many types of the service checks to one interface. After it does some checking, it sends results to console and cachet.

Requirements


  • PHP 5.5 or higher
  • ext-imap
  • ext-pdo
  • ext-ssh2

Installation using Composer


git clone git@github.com:tonicforhealth/health-board-engine.git
cd health-board-engine
composer install
cp app/config/parameter.default.php app/config/parameter.php

Setup


For the correct run of health-board-engine app you need to install 2 tools:

Then set up config for app/config/parameter.php:

...
'incident' => [
    'base_url' => 'http://localhost:8080',
    'config' => [
        'username' => 'test@gmail.com',
        'password' => 'test',
    ],
],
'rest' => [
    'cachet' => [
        'base_url' => 'http://localhost:8000/api/v1',
        'config' => [
            //'username' => 'test@gmail.com',
            //'password' => 'test',
            'token'=> 'tVDnR5BQtu1BXKKnH3zG',
        ],
    ],
],
...

Run of all checks


app/console healthcheck:all

Run with docker

All info about it you can find here docker-image-health-board

What service checks it has


  • http
  • db
  • elasticsearch
  • redis
  • activemq
  • glusterfs
  • processing
  • email

Creating your own new checker


It's simple: you just need to implement AbstractCheck interface then add it to services.php

About

Is a tool that performs all configured checks. It's the core of the Health board system. More info you can find in this README

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages