Skip to content

faizahmedfarooqui/process-monitor

Repository files navigation

Process-Monitor (PHP - Laravel)

Queues Status Monitoring : Less/OverLoad/None

Basic useful feature list:

  • Process status monitoring for the queue jobs i.e. running or stopped
  • Also checks the queued jobs count is running to the expected number of count
  • Mailer to send mail into inbox (not spam) to specified number of admins
  • Option of adding CC for webhooks like Slack

How to use:

    // 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('[email protected]', 'Give Any Name')
    *   add CC (optional)
    */