| = $this->l11n->lang['Monitoring']['OS'] ?> | = php_uname('s'); ?> - |
| = $this->l11n->lang['Monitoring']['Version'] ?> | = php_uname('v'); ?> - |
| = $this->l11n->lang['Monitoring']['Release'] ?> | = php_uname('r'); ?> - |
| = $this->l11n->lang['Monitoring']['RAMUsage'] ?> | = memory_get_usage(true)/(1024*1024); ?> MB - |
| = $this->l11n->lang['Monitoring']['MemoryLimit'] ?> | = ini_get('memory_limit'); ?> - |
| = $this->l11n->lang['Monitoring']['SystemRAM'] ?> | = \phpOMS\System\SystemUtils::getRAM()/(1024); ?> MB - |
| = $this->l11n->lang['Monitoring']['CPUUsage'] ?> | = \phpOMS\System\SystemUtils::getCpuUsage(); ?>% - |
| = $this->l11n->lang['Monitoring']['DiskUsage'] ?> | = round(\phpOMS\System\File\Directory::getFolderSize(ROOT_PATH)/1000000, true); ?> MB + |
| = $this->l11n->getText('Monitoring', 'OS') ?> | = php_uname('s'); ?> + |
| = $this->l11n->getText('Monitoring', 'Version') ?> | = php_uname('v'); ?> + |
| = $this->l11n->getText('Monitoring', 'Release') ?> | = php_uname('r'); ?> + |
| = $this->l11n->getText('Monitoring', 'RAMUsage') ?> | = memory_get_usage(true)/(1024*1024); ?> MB + |
| = $this->l11n->getText('Monitoring', 'MemoryLimit') ?> | = ini_get('memory_limit'); ?> + |
| = $this->l11n->getText('Monitoring', 'SystemRAM') ?> | = \phpOMS\System\SystemUtils::getRAM()/(1024); ?> MB + |
| = $this->l11n->getText('Monitoring', 'CPUUsage') ?> | = \phpOMS\System\SystemUtils::getCpuUsage(); ?>% + |
| = $this->l11n->getText('Monitoring', 'DiskUsage') ?> | = round(\phpOMS\System\File\Directory::getFolderSize(ROOT_PATH)/1000000, true); ?> MB |
| = $this->l11n->lang['Monitoring']['Emergencies'] ?> | = $logs['emergency'] ?? 0; ?> - |
| = $this->l11n->lang['Monitoring']['Criticals'] ?> | = $logs['critical'] ?? 0; ?> - |
| = $this->l11n->lang['Monitoring']['Errors'] ?> | = $logs['error'] ?? 0; ?> - |
| = $this->l11n->lang['Monitoring']['Warnings'] ?> | = $logs['warning'] ?? 0; ?> - |
| = $this->l11n->lang['Monitoring']['Alerts'] ?> | = $logs['alert'] ?? 0; ?> - |
| = $this->l11n->lang['Monitoring']['Notices'] ?> | = $logs['notice'] ?? 0; ?> - |
| = $this->l11n->lang['Monitoring']['Info'] ?> | = $logs['info'] ?? 0; ?> - |
| = $this->l11n->lang['Monitoring']['Debug'] ?> | = $logs['debug'] ?? 0; ?> - |
| = $this->l11n->lang['Monitoring']['Total'] ?> | = array_sum($logs); ?> + |
| = $this->l11n->getText('Monitoring', 'Emergencies'] ?> | = $logs['emergency') ?? 0; ?> + |
| = $this->l11n->getText('Monitoring', 'Criticals'] ?> | = $logs['critical') ?? 0; ?> + |
| = $this->l11n->getText('Monitoring', 'Errors'] ?> | = $logs['error') ?? 0; ?> + |
| = $this->l11n->getText('Monitoring', 'Warnings'] ?> | = $logs['warning') ?? 0; ?> + |
| = $this->l11n->getText('Monitoring', 'Alerts'] ?> | = $logs['alert') ?? 0; ?> + |
| = $this->l11n->getText('Monitoring', 'Notices'] ?> | = $logs['notice') ?? 0; ?> + |
| = $this->l11n->getText('Monitoring', 'Info'] ?> | = $logs['info') ?? 0; ?> + |
| = $this->l11n->getText('Monitoring', 'Debug'] ?> | = $logs['debug') ?? 0; ?> + |
| = $this->l11n->getText('Monitoring', 'Total') ?> | = array_sum($logs); ?> |
| = $this->l11n->lang[0]['ID']; ?> + | = $this->l11n->getText(0, 'ID'); ?> | = (int) $this->request->getData('id') ?? 0; ?> | |||
| = $this->l11n->lang['Monitoring']['Time']; ?> + | = $this->l11n->getText('Monitoring', 'Time'); ?> | = $log['datetime']; ?> | |||
| = $this->l11n->lang['Monitoring']['Uri']; ?> + | = $this->l11n->getText('Monitoring', 'Uri'); ?> | = $log['path']; ?> | |||
| = $this->l11n->lang['Monitoring']['Source']; ?> + | = $this->l11n->getText('Monitoring', 'Source'); ?> | = $log['ip']; ?> | |||
| = $this->l11n->lang['Monitoring']['Level']; ?> + | = $this->l11n->getText('Monitoring', 'Level'); ?> | = $log['level']; ?> | |||
| = $this->l11n->lang['Monitoring']['Message']; ?> + | = $this->l11n->getText('Monitoring', 'Message'); ?> | = $log['message']; ?> | |||
| = $this->l11n->lang['Monitoring']['File']; ?> + | = $this->l11n->getText('Monitoring', 'File'); ?> | = $log['file']; ?> | |||
| = $this->l11n->lang['Monitoring']['Line']; ?> + | = $this->l11n->getText('Monitoring', 'Line'); ?> | = $log['line']; ?> | |||
| = $this->l11n->lang['Monitoring']['Version']; ?> + | = $this->l11n->getText('Monitoring', 'Version'); ?> | = $log['version']; ?> | |||
| = $this->l11n->lang['Monitoring']['OS']; ?> + | = $this->l11n->getText('Monitoring', 'OS'); ?> | = $log['os']; ?> | |||
| = $this->l11n->lang['Monitoring']['Backtrace']; ?> + | = $this->l11n->getText('Monitoring', 'Backtrace'); ?> | ||||
= json_encode($log['backtrace'], JSON_PRETTY_PRINT); ?> | |||||
| = $this->l11n->lang['Monitoring']['Report']; ?> + href="https://gitreports.com/issue/Orange-Management/Orange-Management/?name=Guest&issue_title== urlencode($log['message']); ?>&details== urlencode($details); ?>">= $this->l11n->getText('Monitoring', 'Report'); ?> | |||||