@if (hostBrowserConfig) { } @if (!result) { } @if (result) {
{{ t('Host') }}: {{ result.hoststatus.host_mapping.display_name }}
@if (selectedTab == HostBrowserTabs.StatusInformation) {
{{ 'State' }} {{ result.hoststatus.current_state | hostStatusName }} {{ 'State since' }} {{ result.hoststatus.last_state_change_for_humans }} {{ 'Last check' }} {{ result.hoststatus.last_check_in_words }} {{ 'Next check' }} @if (result.hoststatus.active_checks_enabled) { {{ result.hoststatus.next_check_in_words }} } @else { {{ t('n/a') }} } {{ 'State type' }} @if (result.hoststatus.is_hardstate) { {{ t('Hard state') }} } @else { {{ t('Soft state') }} } ({{ result.hoststatus.current_check_attempt }} /{{ result.hoststatus.max_check_attempts }}) @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'reset_check_time']) | async) { } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'schedule_maintenance']) | async) { } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'acknowledge_status']) | async) { @if (Number(result.hoststatus.current_state) > 0) { } } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'process_check_result']) | async) { } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'flap_detection']) | async) { @if (!result.hoststatus.flap_detection_enabled) { } @if (result.hoststatus.flap_detection_enabled) { } }
@if (Number(result.hoststatus.scheduled_downtime_depth) > 0 && result.downtime) {
{{ t('The host is currently in a planned maintenance period') }}
{{ t('Downtime was set by') }} {{ result.downtime.author_name }} {{ t('with an duration of') }} {{ result.downtime.duration_for_humans }}.
{{ t('Start time:') }} {{ result.downtime.scheduled_start_time }} {{ t('End time:') }} {{ result.downtime.scheduled_end_time }}
{{ t('Comment: ') }} {{ result.downtime.comment_data }}
@if (result.downtime.is_cancellable) { }
} @if (result.hoststatus.problem_has_been_acknowledged && result.acknowledgement) {
{{ t('State of host is acknowledged') }} ({{ t('Sticky') }})
{{ t('Acknowledgement was set by') }} {{ result.acknowledgement.author_name }} {{ t('at') }} {{ result.acknowledgement.entry_time }}.
{{ t('Comment: ') }}
} @if (result.hoststatus.is_flapping) { {{ t('The state of this host is currently flapping!') }} } @if (result && result.plannedDowntimes && result.plannedDowntimes.length > 0) {
{{ t('Upcoming planned maintenance periods for the host') }}
@for (downtime of result.plannedDowntimes; track $index) { }
{{ t('User') }} {{ t('Start time') }} {{ t('End time') }} {{ t('Comment') }} {{ t('Cancel') }}
{{ downtime.author_name }} {{ downtime.scheduled_start_time }} {{ downtime.scheduled_end_time }} {{ downtime.comment_data }} @if (downtime.is_cancellable) {
}
} @if (Number(result.hoststatus.current_state) > 0) { }
{{ t('Flap detection enabled') }} @if (result.hoststatus.flap_detection_enabled) { {{ t('Yes') }} } @else { {{ t('No') }} }
{{ t('Active checks enabled') }} @if (result.hoststatus.active_checks_enabled) { {{ t('Yes') }} } @else { {{ t('No') }} }
{{ t('Output') }}
{{ t('Last time') }} {{ t('UP') }} {{ result.hoststatus.last_time_up }}
{{ t('Check period') }} {{ result.hoststatus.timeperiod_mapping.display_name }}
{{ t('Check interval') }} {{ result.hoststatus.normal_check_interval_for_humans }}
{{ t('Retry interval') }} {{ result.hoststatus.retry_check_interval_for_humans }}
@if (result.hoststatus.long_output_html) {

{{ t('Long output') }}

}
{{ result.hoststatus.current_state | hostStatusName }}
{{ t('State since') }}
{{ result.hoststatus.last_state_change_for_humans }}
{{ t('Last check') }}
{{ result.hoststatus.last_check_in_words }}
{{ t('Next check') }}
@if (result.hoststatus.active_checks_enabled) {
{{ result.hoststatus.next_check_in_words }}
(+ {{ result.hoststatus.latency }})
} @else {
{{ t('n/a') }}
}
@if (result && result.hoststatus) {
{{ t('State type') }}
@if (result.hoststatus.is_hardstate) {
{{ t('Hard state') }} ({{ result.hoststatus.current_check_attempt }} /{{ result.hoststatus.max_check_attempts }})
} @else {
{{ t('Soft state') }} ({{ result.hoststatus.current_check_attempt }} /{{ result.hoststatus.max_check_attempts }})
}
}
@if (result && result.hoststatus) { @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'reset_check_time']) | async) {
{{ t('Reset check time ') }}
} @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'schedule_maintenance']) | async) {
{{ t('Schedule maintenance') }}
} @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'acknowledge_status']) | async) { @if (Number(result!.hoststatus.current_state) > 0) {
{{ t('Acknowledge host status') }}
} } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'process_check_result']) | async) {
{{ t('Passive transfer check result') }}
} @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'flap_detection']) | async) { @if (!result!.hoststatus.flap_detection_enabled) {
{{ t('Enable flap detection') }}
} @if (result!.hoststatus.flap_detection_enabled) {
{{ t('Disable flap detection') }}
} }
}
}
} @if (this.PermissionsService.hasPermissionObservable(['services', 'index'])|async) { @if (result && result.hoststatus) { } }