@if (!init) {
{{ t('Export') }} {{ t('Refresh monitoring configuration') }}
@if (!gearmanReachable) {

{{ t('Critical error!') }}

{{ t('Could not connect to Gearman Job Server') }}
} @if (!isGearmanWorkerRunning) {

{{ t('Critical error!') }}

{{ t('Gearman Worker background daemon is not running. Please contact your system administrator.') }}
} @if (!isExportRunning) {
{{ t('Refresh monitoring configuration') }}
{{ t('Updates and applies the latest configuration to the monitoring engine, including new hosts and modified contacts and so on.') }}
} @if (useSingleInstanceSync && satellites.length > 0) { {{ t('Select instances which the new configuration should get pushed.') }} @if (satellites) { @for (satellite of satellites; track satellite.id) { }
{{ t('Instances name') }}
{{ satellite.name }} {{ t('ID') }} {{ satellite.id }}
}
} @if (isExportRunning || showLog) { {{ t('Tasks') }} @if (!exportSuccessfully) {
{{ t('Error') }}
{{ t('Error while refreshing monitoring configuration.') }}
@if (exportValidation.result.nagios.hasError) {
{{ t('New configuration is invalid') }}
{{ exportValidation.result.nagios.output.join("\n") }}
} @if (exportValidation.result.prometheus.hasError) {
{{ t('New Prometheus configuration is invalid') }}
{{ exportValidation.result.prometheus.output.join("\n") }}
}
} @for (task of tasks; track task.task) { @if (task.finished === 0) { } @if (task.finished === 1 && task.successfully === 1) { } @if (task.finished === 1 && task.successfully === 0) { } [{{ task.modified }}] {{ task.text }} }
}
@if ((isExportRunning || showLog) && satellites.length > 0) {
{{ t('Satellite Status has been moved.') }}
{{ t('Satellite export status has been moved to a separate view.') }}
{{ t('Go to "Satellite Status"') }}
}
@if (gearmanReachable && isGearmanWorkerRunning) { } @else { {{ t('Refresh unavailable due to errors') }} }
}