{{ t('System Health') }}

@if (systemHealth.state === 'ok') {
{{ t('Alright!') }} {{ t('No issues detected. System operates normally.') }}
} @if (systemHealth.state === 'warning' || systemHealth.state === 'critical') {
    @if (!systemHealth.isNagiosRunning) {
  • {{ t('Critical') }}
    {{ t('Monitoring engine is not running!') }}
  • } @if (!systemHealth.gearman_reachable) {
  • {{ t('Critical') }}
    {{ t('Gearman job server not reachable!') }}
  • } @if (!systemHealth.gearman_worker_running) {
  • {{ t('Critical') }}
    {{ t('Service gearman_worker is not running!') }}
  • } @if (systemHealth.isNdoInstalled && !systemHealth.isNdoRunning) {
  • {{ t('Critical') }}
    {{ t('Database connector NDOUtils is not running!') }}
  • } @if (systemHealth.isStatusengineInstalled && !systemHealth.isStatusengineRunning) {
  • {{ t('Critical') }}
    {{ t('Database connector Statusengine is not running!') }}
  • } @if (systemHealth.isStatusenginePerfdataProcessor && !systemHealth.isStatusengineRunning) {
  • {{ t('Warning') }}
    {{ t('Performance data processer Statusengine is not running!') }}
  • } @if (!systemHealth.isStatusenginePerfdataProcessor && !systemHealth.isNpcdRunning) {
  • {{ t('Warning') }}
    {{ t('Performance data processer NPCD is not running!') }}
  • } @if (!systemHealth.isSudoServerRunning) {
  • {{ t('Warning') }}
    {{ t('Service sudo_server is not running!') }}
  • } @if (!systemHealth.isOitcCmdRunning) {
  • {{ t('Warning') }}
    {{ t('Service oitc_cmd is not running!') }}
  • } @if (!systemHealth.isPushNotificationRunning) {
  • {{ t('Warning') }}
    {{ t('Service push_notification is not running!') }}
  • } @if (!systemHealth.isNodeJsServerRunning) {
  • {{ t('Warning') }}
    {{ t('Nodejs backend is not running') }}
  • } @if (systemHealth.load?.state !== 'ok') {
  • {{ t('Current CPU load is too high!') }}
    {{ systemHealth.load?.load1 }} , {{ systemHealth.load?.load5 }}, {{ systemHealth.load?.load15 }}

  • } @for (satellite of systemHealth.satellites; track satellite) { @if (satellite.satellite_status) { @if (satellite.satellite_status.status !== 1) {
  • {{ t('Sync status') }} {{ t('failed') }}
    {{ satellite.name }} , {{ t('last seen') }} {{ satellite.satellite_status.last_seen }}

  • } } } @if (systemHealth.memory_usage && systemHealth.memory_usage.memory.state !== 'ok') {
  • {{ t('High memory usage.') }} {{ systemHealth.memory_usage.memory.percentage }}%

  • } @if (systemHealth.memory_usage && systemHealth.memory_usage.swap.state !== 'ok') {
  • {{ t('High Swap usage') }} {{ systemHealth.memory_usage.swap.percentage }}%

  • } @for (disk of systemHealth.disk_usage; track disk) { @if (disk.state !== 'ok') {
  • {{ ( 'Low disk space left for mountpoint:' ) }}
    "{{ disk.mountpoint }}" {{ disk.use_percentage }}%

  • } } @if (systemHealth.isDistributeModuleInstalled && !systemHealth.isNstaRunning) {
  • {{ t('Warning') }}
    {{ t('Service NSTA is not running!') }}
  • }
} @if (systemHealth.state === 'unknown') {
    @if (!systemHealth.isNagiosRunning) {
  • {{ t('Unknown') }}
    {{ t('Could not detect system health status.') }}

  • }
} @if (PermissionsService.hasPermissionObservable(['systemHealthUsers', 'index'])|async) {
{{ t('Last update') }}: {{ systemHealth.update }}
} @else {
{{ t('Last update') }}: {{ systemHealth.update }}
}