1. Go to this page and download the library: Download cms-orbit/vigilance library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cms-orbit / vigilance example snippets
return [
// Sentinel-Hub 도메인 (API 엔드포인트 경로는 자동 추가됨)
'base_url' => env('SENTINEL_HUB_URL', 'http://localhost'),
// 서버 UUID
'server_uuid' => env('VIGILANCE_SERVER_ID', ''),
// 모니터링할 디스크 경로
'disk_paths' => [
'/',
],
// 모니터링할 로그 파일 prefix
// 데일리 로그 (laravel-2025-10-11.log) 지원
'log_monitor_prefixes' => [
storage_path('logs/laravel'),
],
// 재시도 설정
'retry' => [
'max_attempts' => 3,
'initial_delay' => 1,
'max_delay' => 60,
],
// HTTP 타임아웃 (초)
'timeout' => 10,
];
bash
php artisan vigilance:report
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.