Run All Probes Across Projects
Command
Section titled “Command”php artisan uplinkr:project:run-probesDescription
Section titled “Description”Run all probes for all projects defined in settings.json. This is the main command for executing monitoring checks across your entire Uplinkr installation.
Options
Section titled “Options”| Option | Type | Required | Description |
|---|---|---|---|
--force | flag | No | Force execution without confirmation |
Usage Examples
Section titled “Usage Examples”Run all probes
Section titled “Run all probes”php artisan uplinkr:project:run-probesForce mode (skip confirmation)
Section titled “Force mode (skip confirmation)”php artisan uplinkr:project:run-probes --forceSchedule in Laravel
Section titled “Schedule in Laravel”// In app/Console/Kernel.php or routes/console.phpSchedule::command('uplinkr:project:run-probes --force') ->everyFiveMinutes();Behavior
Section titled “Behavior”- Iterates through all projects in the storage directory
- Skips disabled projects automatically
- Runs all configured probes for each active project
- Respects
probes.execution_mode(directexecution or queuedjobdispatch) - Displays results for each probe execution
- Stores probe results in the file system
- Shows warnings for projects without probes
- Logs errors for projects that fail to load
Output
Section titled “Output”The command provides detailed output for each project:
- Number of probes to execute per project
- Results for each probe (success/failure, response time, status code)
- Warnings for disabled or empty projects
- Final success message when complete
Use Cases
Section titled “Use Cases”- Scheduled Monitoring: Run via Laravel’s task scheduler for continuous monitoring
- Manual Checks: Execute on-demand health checks across all services
- Post-Deployment: Verify all services after infrastructure changes
- Batch Processing: Monitor all endpoints in a single command
Return Codes
Section titled “Return Codes”0(SUCCESS): All probes executed successfully (individual probe failures are logged but don’t affect the return code)1(INVALID): Process was aborted by user confirmation