Thanks to visit codestin.com
Credit goes to mtcextendee.com

Command Monitor

Keep an eye on all your Mautic commands. Get notified right away if something goes wrong.

Command Monitor helps you watch over your Mautic commands. You can see what's running, spot problems, and get alerts if something fails or takes too long.

Compatible with Mautic 4, 5, 6, and 7.

Main Features

  • Email Alerts: Get an email if a command fails or runs too long.
  • Dashboard Widget: See command activity and failures right on your dashboard.
  • Easy Logs: Quickly check all command runs, totals, failures, and times.
  • Detailed Logs: Click any command to see all details, arguments, and errors.
  • Reports: Build reports to track command performance and trends.
  • Webhooks: Connect to Zapier, Make.com, or other tools when something fails.
  • Automatic Cleanup: Old logs (over 30 days) are deleted automatically.
  • Monitor failed and long-running commands
  • See today's, weekly, or monthly activity
  • Dashboard widget for last 24 hours

How Does It Work?

  1. Every command is tracked — The plugin logs start/end time, duration, arguments, and whether it succeeded or failed.
  2. Get notified — If a command fails or takes too long, you get an email alert.
  3. See everything in Mautic — Use the dashboard widget or Command Monitor section to review and filter activity.
  4. Connect to other tools — Webhooks let you send alerts to Zapier, Make.com, and more.

Installation

Step 1: Copy the plugin

Place the plugin folder in plugins/MauticCommandMonitorBundle

Step 2: Clear cache

php bin/console cache:clear

Step 3: Reload plugins list

php bin/console mautic:plugins:reload

Step 4: Re-generate assets

php bin/console mautic:assets:generate

Step 5: Configure notifications

Set up email recipients for command notifications in the plugin settings.

After installation, go to Settings > Plugins in Mautic and make sure the plugin is enabled.

Configuration

  1. Go to Settings > Plugins > Command Monitor.
  2. Publish the plugin.
  3. Enter email addresses for failure notifications (comma-separated).
  4. Save the configuration.

Email Notifications

Configure recipient emails to receive alerts for failed or long-running commands. You can set multiple recipients, separated by commas.

Dashboard Widget

Add the Command Monitor widget to your dashboard for a quick overview of recent command activity.

Webhook Support

Configure webhooks to notify external systems (e.g., Zapier, Make.com) when a command fails.

Usage

Command Summary

Go to the Command Monitor section in the Mautic sidebar to see a summary of recent command executions. View totals, failures, and execution times for each command.

Detailed Logs

Click on a command to view detailed logs, including arguments, options, and error messages. Filter logs by timeframe (last 24 hours, 7 days, 30 days).

Dashboard Widget

Add the Command Monitor widget to your dashboard for a quick overview of command activity and failures.

Reports

Use the reporting feature to analyze command performance over time. Build custom reports to track trends, failures, and execution durations.

Webhooks

Configure webhooks to notify external systems on command failures. Integrate with tools like Zapier or Make.com.