定制 imsamurai/cakephp-monitoring-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

imsamurai/cakephp-monitoring-plugin

Composer 安装命令:

composer require imsamurai/cakephp-monitoring-plugin

包简介

Use it if you want to wrap model methods with cache

README 文档

README

Check out Monitoring API Documentation

Abstract

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License

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.

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:

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

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

add tables from Config/Schema/monitoring.sql

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

Configuration

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

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)

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

Wiki

Also check out wiki.

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固