diff --git a/cp/app/Controllers/ReportsController.php b/cp/app/Controllers/ReportsController.php index e758ba8..f2ff97c 100644 --- a/cp/app/Controllers/ReportsController.php +++ b/cp/app/Controllers/ReportsController.php @@ -135,12 +135,16 @@ class ReportsController extends Controller $whoisStatus = $checkServiceStatus('whois'); $rdapStatus = $checkServiceStatus('rdap'); $dasStatus = $checkServiceStatus('das'); + $msgbStatus = $checkServiceStatus('msg_producer'); + $msgwStatus = $checkServiceStatus('msg_worker'); // Get log lines as strings $eppLogs = $getLogLines('epp'); $whoisLogs = $getLogLines('whois'); $rdapLogs = $getLogLines('rdap'); $dasLogs = $getLogLines('das'); + $msgbLogs = $getLogLines('msg_producer'); + $msgwLogs = $getLogLines('msg_worker'); $system = new System(); @@ -206,6 +210,10 @@ class ReportsController extends Controller 'whoisLogs' => $whoisLogs, 'rdapLogs' => $rdapLogs, 'dasLogs' => $dasLogs, + 'msgbStatus' => $msgbStatus, + 'msgwStatus' => $msgwStatus, + 'msgbLogs' => $msgbLogs, + 'msgwLogs' => $msgwLogs, ]); } diff --git a/cp/resources/views/admin/reports/serverHealth.twig b/cp/resources/views/admin/reports/serverHealth.twig index e5541f1..1689cf8 100644 --- a/cp/resources/views/admin/reports/serverHealth.twig +++ b/cp/resources/views/admin/reports/serverHealth.twig @@ -113,74 +113,97 @@ -
service epp restart
service rdap restart
service whois restart
service das restart
- {{ __('If you encounter an issue with a specific service, log in via SSH and run the appropriate command to reload it:') }} service epp restart
, service whois restart
, service rdap restart
, service das restart
-
- {{ __('If you need assistance, please contact support.') }} -
+service msg_producer restart
service msg_worker restart
{{ msgbLogs|raw }}+
{{ msgwLogs|raw }}+