mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-21 18:16:03 +02:00
Small server health page info added
This commit is contained in:
parent
f7580b4de6
commit
f3d1fa22e6
2 changed files with 6 additions and 1 deletions
|
@ -201,6 +201,8 @@ class ReportsController extends Controller
|
|||
$whoisQueries = $db->selectValue("SELECT value FROM settings WHERE name = 'whois-43-queries'");
|
||||
$webWhoisQueries = $db->selectValue("SELECT value FROM settings WHERE name = 'web-whois-queries'");
|
||||
|
||||
$os = 'Namingo registry with hostname ' . $system->getHostname() . ' running on ' . $system->getOS() . ' (' . $system->getArch() . ')';
|
||||
|
||||
return $this->view->render($response, 'admin/reports/serverHealth.twig', [
|
||||
'serverHealth' => $serverHealth,
|
||||
'csrfTokenName' => $csrfTokenName,
|
||||
|
@ -220,7 +222,8 @@ class ReportsController extends Controller
|
|||
'msgwLogs' => $msgwLogs,
|
||||
'redisStatus' => $redisStatus,
|
||||
'whoisQueries' => $whoisQueries,
|
||||
'webWhoisQueries' => $webWhoisQueries
|
||||
'webWhoisQueries' => $webWhoisQueries,
|
||||
'os' => $os,
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue