initial commit

This commit is contained in:
TheOnlyMace
2026-05-17 13:26:14 +02:00
commit 75299b723d
176 changed files with 20327 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Console\Commands;
use App\Services\Hosting\Metrics\MetricsCollectorService;
use Illuminate\Console\Command;
class CollectVmMetricsCommand extends Command
{
protected $signature = 'hosting:collect-metrics';
protected $description = 'Sammelt VM-Metriken von Proxmox';
public function handle(MetricsCollectorService $collector): int
{
$count = $collector->collectAll();
$this->info("Metriken für {$count} VM(s) erfasst.");
return self::SUCCESS;
}
}