@if (hostBrowserConfig) { } @if (!result) { } @if (result) {
{{ t('Host') }}: {{ result.mergedHost.name }}
@if (( PermissionsService.hasModuleObservable('ServicenowModule')|async ) && ( PermissionsService.hasPermissionObservable(['ServicenowModule', 'ServicenowSettings', 'hostspecific']) | async )) { } @if (( PermissionsService.hasModuleObservable('GrafanaModule')|async ) && GrafanaIframe?.GrafanaDashboardExists) { } @if (( PermissionsService.hasModuleObservable('ImportModule')|async ) && ( PermissionsService.hasPermissionObservable(['ImportModule', 'ExternalSystems', 'additionalHostInformation'])|async )) { @if (AdditionalInformationExists) { } } @if (( PermissionsService.hasModuleObservable('IsarFlowModule')|async )) { @if (isarFlowInformationExists) { } } @if (( PermissionsService.hasModuleObservable('SLAModule')|async ) && SlaOverview) { @if (SlaOverview.state === 'not_available') { } @else { } } @if (( this.PermissionsService.hasPermissionObservable(['packages', 'index']) | async ) && softwareInformation?.SoftwareInformationExists) { }
@if (selectedTab == HostBrowserTabs.StatusInformation) {
{{ 'State' }} {{ result.hoststatus.currentState | hostStatusName }} @if (result.hoststatus.isInMonitoring) { {{ 'State since' }} {{ result.hoststatus.last_state_change }} {{ 'Last check' }} {{ result.hoststatus.lastCheck }} {{ 'Next check' }} @if (result.mergedHost.active_checks_enabled && !result.mergedHost.is_satellite_host) { {{ result.hoststatus.nextCheck }} } @else { {{ t('n/a') }} } {{ 'State type' }} @if (result.hoststatus.isHardstate) { {{ t('Hard state') }} } @else { {{ t('Soft state') }} } ({{ result.hoststatus.current_check_attempt }} /{{ result.hoststatus.max_check_attempts }}) } @if (result.canSubmitExternalCommands && result.mergedHost.allowEdit && result.hoststatus.isInMonitoring) { @if (Number(result.hoststatus.currentState) > 0) { } @if (!result.hoststatus.flap_detection_enabled) { } @if (result.hoststatus.flap_detection_enabled) { } @if (!result.hoststatus.notifications_enabled) { } @if (result.hoststatus.notifications_enabled) { } }
@if (result.mergedHost.disabled) {

{{ t('Attention!') }}

{{ t('This host is currently disabled!') }}

}

{{ t('Status overview') }}

@if (Number(result.hoststatus.scheduledDowntimeDepth) > 0 && result.downtime) {
{{ t('The host 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.hoststatus.problemHasBeenAcknowledged && 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.acknowledgement.allowEdit) { }
} @if (result.hoststatus.isFlapping) { {{ 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.authorName }} {{ downtime.scheduledStartTime }} {{ downtime.scheduledEndTime }} {{ downtime.commentData }} @if (downtime.allowEdit && downtime.isCancellable) {
}
} @if (PermissionsService.hasPermissionObservable(['hosts', 'checkcommand'])|async) { } @if (Number(result.hoststatus.currentState) > 0) { }
{{ t('Check command') }} @if (PermissionsService.hasPermissionObservable(['commands', 'edit'])|async) { {{ result.checkCommand.Command.name }} } @else { {{ result.checkCommand.Command.name }} }
{{ t('Command line') }} {{ result.mergedHost.hostCommandLine }}
{{ t('Output') }}
{{ t('Last time') }} {{ t('UP') }} {{ result.hoststatus.last_time_up }}
{{ t('Check period') }} {{ result.checkPeriod.name }}
{{ t('Check interval') }} {{ result.mergedHost.checkIntervalHuman }}
{{ t('Retry interval') }} {{ result.mergedHost.retryIntervalHuman }}
@if (result.hoststatus.longOutputHtml) {

{{ t('Long output') }}

} @if (result.parenthosts.length > 0) {

{{ t('Parent host overview') }}

@for (parenthost of result.parenthosts; track parenthost) { @if (result.parentHostStatus.hasOwnProperty(String(parenthost.uuid))) { } }
{{ t('Parent host state') }} {{ t('Parent host name') }} {{ t('Last state change') }}
{{ parenthost.name }} {{ result.parentHostStatus[String(parenthost.uuid)].last_state_change }}
}

{{ t('Notification overview') }}

{{ t('Contacts and contact groups got inherited from') }} {{ t('host template') }} .
@if (result) { @if (result.mergedHost.contacts.length > 0) { } @if (result.mergedHost.contactgroups.length > 0) { }
{{ t('Contacts') }} @for (contact of result.mergedHost.contacts; track contact) {
@if (( PermissionsService.hasPermissionObservable(['contacts', 'edit'])|async ) && contact.allowEdit) { {{ contact.name }} } @else { {{ contact.name }} }
}
{{ t('Contact groups') }} @for (contactgroup of result.mergedHost.contactgroups; track contactgroup) {
@if (( PermissionsService.hasPermissionObservable(['contactgroups', 'edit'])|async ) && contactgroup.allowEdit) { {{ contactgroup.container.name }} } @else { {{ contactgroup.container.name }} }
}
{{ t('Notification period') }} {{ result.notifyPeriod.name }}
{{ t('Notification interval') }} {{ result.mergedHost.notificationIntervalHuman }}
{{ t('Notification enabled') }} @if (result.hoststatus.notifications_enabled) { {{ t('Yes') }} } @else { {{ t('No') }} }
{{ t('Notify on') }} @if (result.mergedHost.notify_on_recovery) { {{ t('Recover') }} } @if (result.mergedHost.notify_on_down) { {{ t('Down') }} } @if (result.mergedHost.notify_on_unreachable) { {{ t('Unreachable') }} } @if (result.mergedHost.notify_on_flapping) { {{ t('Flapping') }} } @if (result.mergedHost.notify_on_downtime) { {{ t('Downtime') }} }
}
@if (result.hoststatus && result.mergedHost) {
{{ result.hoststatus.currentState | hostStatusName }}
@if (result.hoststatus.isInMonitoring) {
{{ t('State since') }}
{{ result.hoststatus.last_state_change }}
{{ t('Last check') }}
{{ result.hoststatus.lastCheck }}
{{ t('Next check') }}
@if (result.mergedHost.active_checks_enabled && !result.mergedHost.is_satellite_host) {
{{ result.hoststatus.nextCheck }}
(+ {{ result.hoststatus.latency }} )
} @else {
{{ t('n/a') }}
}
{{ t('State type') }}
@if (result.hoststatus.isHardstate) {
{{ 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.canSubmitExternalCommands && result.mergedHost.allowEdit && result.hoststatus.isInMonitoring) {
{{ t('Reset check time ') }}
{{ t('Schedule maintenance') }}
@if (Number(result.hoststatus.currentState) > 0) {
{{ t('Acknowledge host status') }}
}
{{ t('Passive transfer check result') }}
@if (!result.hoststatus.flap_detection_enabled) {
{{ t('Enable flap detection') }}
} @if (result.hoststatus.flap_detection_enabled) {
{{ t('Disable flap detection') }}
} @if (!result.hoststatus.notifications_enabled) {
{{ t('Enable notifications') }}
} @if (result.hoststatus.notifications_enabled) {
{{ t('Disable notifications') }}
}
{{ t('Send custom host notification ') }}
}
}
} @if (selectedTab == HostBrowserTabs.DeviceInformation) {
@if (result && result.mergedHost && result.hoststatus) {

{{ t('Host overview') }}

{{ t('IP address') }} {{ result.mergedHost.address }}
{{ t('Flap detection enabled') }} @if (result.hoststatus.flap_detection_enabled) { {{ t('Yes') }} } @else { {{ t('No') }} }
{{ t('Priority') }} @for (priority of priorities; track priority) { }
{{ t('UUID') }} {{ result.mergedHost.uuid }}
@if (tags.length > 0) { } @if (( PermissionsService.hasModuleObservable('DistributeModule')|async ) && result.mergedHost.is_satellite_host) { } @if (!result.mergedHost.is_satellite_host) { } @if (result.mergedHost.notes) { } @if (result.mergedHost.description) { } @if (result.objects.Autoreports || result.objects.Eventcorrelations || result.objects.Hostgroups || result.objects.Instantreports || result.objects.Maps) { }
{{ t('Container') }} @if (PermissionsService.hasPermissionObservable(['browsers', 'index'])|async) { @for (container of result.mainContainer; track container) { / @if (container.id != null) { {{ container.name }} } @if (container.id === null) { {{ container.name }} } } } @else { @for (container of result.mainContainer; track container) { / {{ container.name }} } }
{{ t('Shared containers') }} @if (PermissionsService.hasPermissionObservable(['browsers', 'index'])|async) { @for (sharing of result.sharedContainers |keyvalue; track sharing) {
@for (container of sharing.value; track container) { / @if (container.id != null) { {{ container.name }} } @if (container.id === null) { {{ container.name }} } }
} } @else { @for (sharing of result.sharedContainers |keyvalue; track sharing) {
@for (container of sharing.value; track container) { / {{ container.name }} }
} }
{{ t('Tags') }} @for (tag of tags; track tag) { {{ tag }} }
{{ t('Satellite') }}
{{ t('Satellite') }} {{ result.masterInstanceName }}
{{ t('Notes') }} {{ result.mergedHost.notes }}
{{ t('Description') }} {{ result.mergedHost.description }}
{{ t('Used by') }} @if (PermissionsService.hasPermissionObservable(['hosts', 'usedBy'])|async) { @if (result.objects.Instantreports.length > 0) { {{ t('Instant reports') }} ({{ result.objects.Instantreports.length }}) } @if (PermissionsService.hasModuleObservable('AutoreportModule')|async) { @if (result.objects.Autoreports.length > 0) { {{ t('Autoreports') }} ({{ result.objects.Autoreports.length }}) } } @if (PermissionsService.hasModuleObservable('EventcorrelationModule')|async) { @if (result.objects.Eventcorrelations.length > 0) { {{ t('Event Correlation') }} ({{ result.objects.Eventcorrelations.length }} ) } } @if (PermissionsService.hasModuleObservable('MapModule')|async) { @if (result.objects.Maps.length > 0) { {{ t('Maps') }} ({{ result.objects.Maps.length }}) } } @if (result.objects.Hostgroups.length > 0) { {{ t('Host groups') }} ({{ result.objects.Hostgroups.length }}) } }
}
} @if (selectedTab == HostBrowserTabs.Timeline && result && result.mergedHost) {
} @if (selectedTab == HostBrowserTabs.ServiceNow) {
@if (( PermissionsService.hasModuleObservable('ServicenowModule')|async ) && ( PermissionsService.hasPermissionObservable(['ServicenowModule', 'ServicenowSettings', 'hostspecific'])|async )) { @if (result && result.mergedHost) { } }
} @if (selectedTab == HostBrowserTabs.Grafana) {
@if (( PermissionsService.hasModuleObservable('GrafanaModule')|async ) && GrafanaIframe && GrafanaIframe.GrafanaDashboardExists) { }
} @if (selectedTab == HostBrowserTabs.CMDB) {
@if (result && result.mergedHost) { }
} @if (selectedTab == HostBrowserTabs.IsarFlow) {
@if (( PermissionsService.hasModuleObservable('IsarFlowModule')|async ) && ( PermissionsService.hasPermissionObservable(['IsarFlowModule', 'IsarflowHosts', 'isarFlowHostInformation'])|async )) { @if (result && result.mergedHost) { } }
} @if (selectedTab == HostBrowserTabs.SoftwareInventory && softwareInformation) { @if (this.PermissionsService.hasPermissionObservable(['packages', 'index']) | async) { @if (softwareInformation.SoftwareInformationExists && softwareInformation.packagesHostDetails) {

{{ softwareInformation.packagesHostDetails.os_version }}
{{ t('Uptime') }} {{ softwareInformation.packagesHostDetails.uptime_in_words }}
{{ t('Last update') }} {{ softwareInformation.packagesHostDetails.last_update_user }}
{{ t('Reboot required') }} @if (softwareInformation.packagesHostDetails.reboot_required) { {{ t('Yes') }} } @else { {{ t('No') }} }
{{ softwareInformation.packagesHostDetails.total }}
@if (softwareInformation.packagesHostDetails.os_type === 'linux') { {{ t('Installed packages') }} } @else { {{ t('Installed apps') }} }
{{ softwareInformation.packagesHostDetails.available_updates }}
{{ t('Updates') }}
{{ softwareInformation.packagesHostDetails.available_security_updates }}
{{ t('Security updates') }}
@switch (softwareInformation.packagesHostDetails.os_type) { @case ('linux') { } @case ('windows') { } @case ('macos') { } } } } } @if (selectedTab == HostBrowserTabs.SLA) {
@if (( PermissionsService.hasModuleObservable('SLAModule')|async ) && ( this.PermissionsService.hasPermissionObservable(['slamodule', 'slas', 'slaHostInformation']) | async )) { } @else { }
}
} @if (result && result.mergedHost) { }