2017 © Pedro Peláez
 

cakephp-plugin cakephp-monitoring-plugin

Use it if you want to wrap model methods with cache

image

imsamurai/cakephp-monitoring-plugin

Use it if you want to wrap model methods with cache

  • Monday, April 6, 2015
  • by imsamurai
  • Repository
  • 2 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 21 Versions
  • 0 % Grown

The README.md

API Documentation

Check out Monitoring API Documentation, (*1)

Abstract

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Coordinator for any checker scripts. With this plugin you can unify periodic checkers for some of your services/data/etc, get mail in case of failure, store checker logs in DB., (*3)

Installation

cd my_cake_app/app
git clone git://github.com/imsamurai/cakephp-monitoring-plugin.git Plugin/Monitoring

or if you use git add as submodule:, (*4)

cd my_cake_app
git submodule add "git://github.com/imsamurai/cakephp-monitoring-plugin.git" "app/Plugin/Monitoring"

then add plugin loading in Config/bootstrap.php, (*5)

CakePlugin::load('Monitoring', array('bootstrap' => true));

add tables from Config/Schema/monitoring.sql, (*6)

include https://github.com/symfony/Process, https://github.com/mtdowling/cron-expression in your project, for ex with composer (tested with 2.3 version), (*7)

Configuration

Write global config if you need to change plugin config (see plugin bootstrap.php), (*8)

Usage

Use Monitoring model for manage checkers in DB. Each checker name in DB must be a model that extends MonitoringChecker and implements check method. Coordinator will run this method and store result in DB log. In case of error your checker may return false. Put Console/cake Monitoring.monitoring run in the cron, for ex each 1-5 minutes (depends on your needs), (*9)

For auto add available checkers to db (inactive) run Console/cake Monitoring.monitoring update, (*10)

Wiki

Also check out wiki., (*11)

The Versions

10/06 2014

1.0.4

1.0.4.0 http://github.com/imsamurai/cakephp-monitoring-plugin

Use it if you want to wrap model methods with cache

  Sources   Download

MIT

The Requires

 

plugin cakephp monitoring

10/06 2014

1.0.3

1.0.3.0 http://github.com/imsamurai/cakephp-monitoring-plugin

Use it if you want to wrap model methods with cache

  Sources   Download

MIT

The Requires

 

plugin cakephp monitoring

12/03 2014

1.0.2

1.0.2.0 http://github.com/imsamurai/cakephp-monitoring-plugin

Use it if you want to wrap model methods with cache

  Sources   Download

MIT

The Requires

 

plugin cakephp monitoring

11/03 2014

1.0.1

1.0.1.0 http://github.com/imsamurai/cakephp-monitoring-plugin

Use it if you want to wrap model methods with cache

  Sources   Download

MIT

The Requires

 

plugin cakephp monitoring

07/02 2014

1.0.0

1.0.0.0 http://github.com/imsamurai/cakephp-monitoring-plugin

Use it if you want to wrap model methods with cache

  Sources   Download

MIT

The Requires

 

plugin cakephp monitoring