twenty20 / application-monitor-agent
Monitor cron and queue uptime.
Package info
github.com/Twenty20DD/Application-Monitor-Agent
pkg:composer/twenty20/application-monitor-agent
0.5
2025-12-31 15:08 UTC
Requires
- php: ^8.1
- illuminate/bus: ^10.0|^11.0|^12.0
- illuminate/console: ^10.0|^11.0|^12.0
- illuminate/http: ^10.0|^11.0|^12.0
- illuminate/queue: ^10.0|^11.0|^12.0
- illuminate/support: ^10.0|^11.0|^12.0
README
Monitors scheduled tasks and queues by pinging the Application Monitor API every 5 minutes.
Installation
-
Add the site to the Application Monitor application
-
Install the agent:
composer require twenty20/application-monitor-agent
- Copy and update the below in your .env
APPLICATION_MONITOR_AGENT_ENDPOINT=
APPLICATION_MONITOR_AGENT_SITE_ID=
APPLICATION_MONITOR_AGENT_KEY=
APPLICATION_MONITOR_DEBUGGING_ENABLED=false
- Add the following to the console kernel/commands file in your app:
$schedule ->command('application-monitor-agent:run-agent') ->onOneServer() ->withoutOverlapping() ->everyFiveMinutes();