87 lines
3.0 KiB
PHP
87 lines
3.0 KiB
PHP
<?php
|
||
|
||
|
||
return [
|
||
// Nur diese Keys erscheinen im Dashboard-Widget
|
||
'dashboard' => [
|
||
'postfix', 'dovecot', 'rspamd', 'clamav', 'db', 'redis', 'nginx', 'mw-ws', 'fail2ban',
|
||
],
|
||
|
||
'cards' => [
|
||
// Mail
|
||
'postfix' => [
|
||
'label' => 'Postfix', 'hint' => 'MTA / Versand',
|
||
'sources' => ['systemd:postfix'],
|
||
],
|
||
'dovecot' => [
|
||
'label' => 'Dovecot', 'hint' => 'IMAP / POP3',
|
||
'sources' => ['systemd:dovecot', 'tcp:127.0.0.1:993'],
|
||
],
|
||
'rspamd' => [
|
||
'label' => 'Rspamd', 'hint' => 'Spamfilter',
|
||
'sources' => ['systemd:rspamd', 'tcp:127.0.0.1:11333', 'tcp:127.0.0.1:11334'],
|
||
],
|
||
'clamav' => [
|
||
'label' => 'ClamAV', 'hint' => 'Virenscanner',
|
||
'optional' => true,
|
||
'sources' => [
|
||
// Nur systemd – Socket-Datei bleibt nach dem Stoppen erhalten (false positive)
|
||
'systemd:clamav-daemon',
|
||
],
|
||
],
|
||
|
||
// Daten & Cache
|
||
'db' => [
|
||
'label' => 'Datenbank', 'hint' => 'MySQL / MariaDB',
|
||
'sources' => ['db'],
|
||
],
|
||
'redis' => [
|
||
'label' => 'Redis', 'hint' => 'Cache / Queue',
|
||
'sources' => ['tcp:127.0.0.1:6379', 'systemd:redis-server', 'systemd:redis'],
|
||
],
|
||
|
||
// Web / PHP
|
||
'php-fpm' => [
|
||
'label' => 'PHP-FPM', 'hint' => 'PHP Runtime',
|
||
'sources' => [
|
||
'systemd:php8.3-fpm', 'systemd:php8.2-fpm', 'systemd:php8.1-fpm', 'systemd:php-fpm',
|
||
'socket:/run/php/php8.3-fpm.sock', 'socket:/run/php/php8.2-fpm.sock',
|
||
'socket:/run/php/php8.1-fpm.sock', 'socket:/run/php/php-fpm.sock',
|
||
'tcp:127.0.0.1:9000',
|
||
],
|
||
],
|
||
'nginx' => [
|
||
'label' => 'Nginx', 'hint' => 'Webserver',
|
||
'sources' => ['systemd:nginx', 'tcp:127.0.0.1:80'],
|
||
],
|
||
|
||
// MailWolt
|
||
'mw-queue' => [
|
||
'label' => 'MailWolt Queue', 'hint' => 'Job Worker',
|
||
'sources' => ['systemd:mailwolt-queue', 'proc:/php.*artisan(\.php)?\s+queue:work'],
|
||
],
|
||
'mw-schedule' => [
|
||
'label' => 'MailWolt Schedule', 'hint' => 'Task Scheduler',
|
||
'sources' => ['systemd:mailwolt-schedule', 'proc:/php.*artisan(\.php)?\s+schedule:work'],
|
||
],
|
||
'mw-ws' => [
|
||
'label' => 'MailWolt WebSocket', 'hint' => 'Echtzeit Updates',
|
||
'sources' => ['systemd:mailwolt-ws', 'tcp:127.0.0.1:8080'],
|
||
],
|
||
|
||
// Sonstiges
|
||
'monit' => [
|
||
'label' => 'Monit', 'hint' => 'Prozess-Monitoring',
|
||
'sources' => ['systemd:monit', 'tcp:127.0.0.1:2812'],
|
||
],
|
||
'fail2ban' => [
|
||
'label' => 'Fail2Ban', 'hint' => 'SSH / Mail Protection',
|
||
'sources' => ['systemd:fail2ban'],
|
||
],
|
||
'journal' => [
|
||
'label' => 'System Logs', 'hint' => 'Journal',
|
||
'sources' => ['systemd:systemd-journald', 'systemd:rsyslog'],
|
||
],
|
||
],
|
||
];
|