faizahmedfarooqui/process-monitor

此包的最新版本(v1.0)没有可用的许可信息。

Laravel 队列任务监控与计数 & PHP 邮件发送

v1.0 2016-08-14 18:22 UTC

This package is auto-updated.

Last update: 2024-09-08 16:56:04 UTC


README

队列状态监控:少/过载/无

基本有用功能列表

  • 监控队列任务的进程状态,例如运行或停止
  • 同时检查队列任务的计数是否达到预期的数量
  • 邮件发送到指定数量的管理员收件箱(非垃圾邮件)
  • 为像 Slack 这样的 webhook 添加 CC 的选项

如何使用

    // Just clone using command `git clone https://github.com/faizahmedfarooqui/process-monitor.git`
    // then execute process_monitor/index.php file using cron or anything it will work
    
    /*
    *   Edit ProcessConfig.php by providing:
    *   process-name in name index (required),
    *   program-name in program index (optional),
    *   count of process in count index (required)
    */
    
    /*
    *   Edit AdminMail.php:
    *   provide mail username, password
    *   set from mail address
    *   set to mail address in addAddress('mailAddress@host.com', 'Give Any Name')
    *   add CC (optional)
    */