@if (serviceBrowserConfig) { } @if (!result || !hoststatus) { } @if (result && hoststatus) {
{{ t('Service') }}: {{ result.servicestatus.host_mapping.display_name }} / {{ result.servicestatus.service_mapping.display_name }}
@if (selectedTab == ServiceBrowserTabs.StatusInformation) {
{{ 'State' }} {{ result.servicestatus.current_state | serviceStatusName }} {{ 'State since' }} {{ result.servicestatus.last_state_change_for_humans }} {{ 'Last check' }} {{ result.servicestatus.last_check_in_words }} {{ 'Next check' }} @if (result.servicestatus.active_checks_enabled) { {{ result.servicestatus.next_check_in_words }} } @else { {{ t('n/a') }} } {{ 'State type' }} @if (result.servicestatus.is_hardstate) { {{ t('Hard state') }} } @else { {{ t('Soft state') }} } ({{ result.servicestatus.current_check_attempt }} /{{ result.servicestatus.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.servicestatus.current_state) > 0) { } } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'process_check_result']) | async) { } @if (this.PermissionsService.hasPermissionObservable(['externalcommands', 'flap_detection']) | async) { @if (!result.servicestatus.flap_detection_enabled) { } @if (result.servicestatus.flap_detection_enabled) { } }
@if (hoststatus) {

{{ t('Status overview') }}

@if (Number(result.servicestatus.scheduled_downtime_depth) > 0 && result.downtime) {
{{ t('The service 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.servicestatus.problem_has_been_acknowledged && result.acknowledgement) {
{{ t('State of service is acknowledged') }} ({{ t('Sticky') }})
{{ t('Acknowledgement was set by') }} {{ result.acknowledgement.author_name }} {{ t('at') }} {{ result.acknowledgement.entry_time }}.
{{ t('Comment: ') }}
} @if (result.servicestatus.is_flapping) { {{ t('The state of this service is currently flapping!') }} } @if (Number(hoststatus.hoststatus.current_state) > 0) {
{{ t('Problem with host detected!') }}
@if (PermissionsService.hasPermissionObservable(['hosts', 'browser'])|async) { {{ hoststatus.hoststatus.host_mapping.display_name }} } @else { {{ hoststatus.hoststatus.host_mapping.display_name }} }
} @if (Number(hoststatus.hoststatus.scheduled_downtime_depth) > 0 && hoststatus.downtime) {
{{ t('The host is currently in a planned maintenance period') }}
{{ t('Downtime was set by') }} {{ hoststatus.downtime.author_name }} {{ t('with an duration of') }} {{ hoststatus.downtime.duration_for_humans }}.
{{ t('Start time:') }} {{ hoststatus.downtime.scheduled_start_time }} {{ t('End time:') }} {{ hoststatus.downtime.scheduled_end_time }}
{{ t('Comment: ') }} {{ hoststatus.downtime.comment_data }}
@if (hoststatus.downtime.is_cancellable) { }
} @if (hoststatus.hoststatus.problem_has_been_acknowledged && hoststatus.acknowledgement) {
{{ t('State of host is acknowledged') }} ({{ t('Sticky') }})
{{ t('Acknowledgement was set by') }} {{ hoststatus.acknowledgement.author_name }} {{ t('at') }} {{ hoststatus.acknowledgement.entry_time }}.
{{ t('Comment: ') }}
} @if (result && result.plannedDowntimes && result.plannedDowntimes.length > 0) {
{{ t('Upcoming planned maintenance periods for the service') }}
@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 (hoststatus && hoststatus.plannedDowntimes && hoststatus.plannedDowntimes.length > 0) {
{{ t('Upcoming planned maintenance periods for the host of this service') }}
@for (downtime of hoststatus.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 (result.servicestatus.perfdata) { } @if (Number(result.servicestatus.current_state) > 0) { }
{{ t('Flap detection enabled') }} @if (result.servicestatus.flap_detection_enabled) { {{ t('Yes') }} } @else { {{ t('No') }} }
{{ t('Active checks enabled') }} @if (result.servicestatus.active_checks_enabled) { {{ t('Yes') }} } @else { {{ t('No') }} }
{{ t('Output') }}
{{ t('Performance data') }}
{{ result.servicestatus.perfdata }}
{{ t('Last time') }} {{ t('OK') }} {{ result.servicestatus.last_time_ok }}
{{ t('Check period') }} {{ result.servicestatus.timeperiod_mapping.display_name }}
{{ t('Check interval') }} {{ result.servicestatus.normal_check_interval_for_humans }}
{{ t('Retry interval') }} {{ result.servicestatus.retry_check_interval_for_humans }}
@if (result.servicestatus.long_output_html) {

{{ t('Long output') }}

}

{{ t('Host state overview') }}

{{ t('Host state') }} {{ t('Host name') }} {{ t('Last state change') }}
@if (hoststatus) { } @if (PermissionsService.hasPermissionObservable(['hosts', 'browser'])|async) { {{ hoststatus.hoststatus.host_mapping.display_name }} } @else { {{ hoststatus.hoststatus.host_mapping.display_name }} } {{ hoststatus.hoststatus.last_state_change }}
@if (result.servicestatus && hoststatus) {
{{ result.servicestatus.current_state | serviceStatusName }}
{{ t('State since') }}
{{ result.servicestatus.last_state_change_for_humans }}
{{ t('Last check') }}
{{ result.servicestatus.last_check_in_words }}
{{ t('Next check') }}
@if (result.servicestatus.active_checks_enabled) {
{{ result.servicestatus.next_check_in_words }}
(+ {{ result.servicestatus.latency }} )
} @else {
{{ t('n/a') }}
}
{{ t('State type') }}
@if (result.servicestatus.is_hardstate) {
{{ t('Hard state') }} ({{ result.servicestatus.current_check_attempt }} /{{ result.servicestatus.max_check_attempts }})
} @else {
{{ t('Soft state') }} ({{ result.servicestatus.current_check_attempt }} /{{ result.servicestatus.max_check_attempts }})
}
@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.servicestatus.current_state) > 0) {
{{ t('Acknowledge service 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.servicestatus.flap_detection_enabled) {
{{ t('Enable flap detection') }}
} @if (result.servicestatus.flap_detection_enabled) {
{{ t('Disable flap detection') }}
} }
}
}
}
} @if (result && result.Perfdata && timezone && this.availableDataSources.length > 0) { }