{{ t('Service status details') }}
@if (!result) { } @if (result) { {{ result.host.Host.name }} / {{ result.mergedService.name }} {{ 'Host' }} {{ result.host.Host.name }} {{ 'Service' }} {{ result.mergedService.name }} {{ 'State' }} {{ result.servicestatus.currentState | serviceStatusName }} @if (result.servicestatus.isInMonitoring) { {{ 'State since' }} {{ result.servicestatus.last_state_change }} {{ 'Last check' }} {{ result.servicestatus.lastCheck }} {{ 'Next check' }} @if (result.mergedService.active_checks_enabled && !result.host.Host.is_satellite_host) { {{ result.servicestatus.nextCheck }} } @else { {{ t('n/a') }} } {{ 'State type' }} @if (result.servicestatus.isHardstate) { {{ t('Hard state') }} } @else { {{ t('Soft state') }} } ({{ result.servicestatus.current_check_attempt }} /{{ result.servicestatus.max_check_attempts }}) {{ 'Output' }}
} @if (result.canSubmitExternalCommands && result.mergedService.allowEdit && result.servicestatus.isInMonitoring) { @if (Number(result.servicestatus.currentState) > 0) { } @if (!result.servicestatus.flap_detection_enabled) { } @if (result.servicestatus.flap_detection_enabled) { } @if (!result.servicestatus.notifications_enabled) { } @if (result.servicestatus.notifications_enabled) { } }
@if (Number(result.servicestatus.scheduledDowntimeDepth) > 0 && result.downtime) {
{{ t('The service is currently in a planned maintenance period') }}
{{ t('Downtime was set by') }} {{ result.downtime.authorName }} {{ t('with an duration of') }} {{ result.downtime.durationHuman }}.
{{ t('Start time:') }} {{ result.downtime.scheduledStartTime }} {{ t('End time:') }} {{ result.downtime.scheduledEndTime }}
{{ t('Comment: ') }} {{ result.downtime.commentData }}
@if (result.downtime.allowEdit && result.downtime.isCancellable) { }
} @if (result.servicestatus.problemHasBeenAcknowledged && 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.acknowledgement.allowEdit) { }
} @if (result.servicestatus.isFlapping) { {{ t('The state of this service is currently flapping!') }} } @if (Number(result.hoststatus.currentState) > 0) {
{{ t('Problem with host detected!') }}
@if (PermissionsService.hasPermissionObservable(['hosts', 'browser'])|async) { {{ result.host.Host.hostname }} } @else { {{ result.host.Host.hostname }} }
} @if (Number(result.hoststatus.scheduledDowntimeDepth) > 0 && result.hostDowntime) {
{{ t('The host is currently in a planned maintenance period') }}
{{ t('Downtime was set by') }} {{ result.hostDowntime.authorName }} {{ t('with an duration of') }} {{ result.hostDowntime.durationHuman }}.
{{ t('Start time:') }} {{ result.hostDowntime.scheduledStartTime }} {{ t('End time:') }} {{ result.hostDowntime.scheduledEndTime }}
{{ t('Comment: ') }} {{ result.hostDowntime.commentData }}
@if (result.hostDowntime.allowEdit && result.hostDowntime.isCancellable) { }
} @if (result.hoststatus.problemHasBeenAcknowledged && result.hostAcknowledgement) {
{{ t('State of host is acknowledged') }} ({{ t('Sticky') }})
{{ t('Acknowledgement was set by') }} {{ result.hostAcknowledgement.author_name }} {{ t('at') }} {{ result.hostAcknowledgement.entry_time }}.
{{ t('Comment: ') }}
@if (result.hostAcknowledgement.allowEdit) { }
} @if (result.servicestatus.longOutputHtml) {

{{ t('Long output') }}

}
@if (result && result.mergedService.has_graph && timezone) { }
}
@if (result) { {{ t('View') }} }