- compact): ?>
-
- = ucfirst($helper->monitoringState($host, 'host')) ?>
-
- -
-
- = $this->prefixedTimeSince($host->host_last_state_change, true) ?>
- compact): ?>
- host_state > 0): ?>
-
- - = $this->translate( - ($host->host_state_type === '1') ? 'Hard' : 'Soft' - ) ?> = $host->host_current_check_attempt ?>/= $host->host_max_check_attempts ?> - - |
+ }
-
-
- compact): ?>
- host_icon_image): ?>
- = $this->img(
- $this->resolveMacros($host->host_icon_image, $host),
- array('align' => 'right')
- ) ?>
-
- = implode(' ', $icons) ?>
-
- = $host->host_name ?>
- host_unhandled_services) && $host->host_unhandled_services > 0): ?>
- (= $this->qlink(
- sprintf($this->translate('%d unhandled services'), $host->host_unhandled_services),
- 'monitoring/show/services',
- array(
- 'host' => $host->host_name,
- 'service_problem' => 1,
- 'service_acknowledged' => 0,
- 'service_in_downtime' => 0
- ),
- array('style' => 'font-weight: normal')
- ) ?>)
-
- - = $this->escape(substr(strip_tags($host->host_output), 0, 10000)) ?> - |
- |
+ compact): ?>
+ = ucfirst($helper->monitoringState($host, 'host')) ?> + + = $this->prefixedTimeSince($host->host_last_state_change, true) ?> + host_state > 0 && (int) $host->host_state_type === 0): ?> + + Soft = $host->host_attempt ?> + + |
+
+
+
+ host_icon_image && ! preg_match('/[\'"]/', $host->host_icon_image)): ?>
+ = $this->icon($this->resolveMacros($host->host_icon_image, $host)) ?>
+
+ = implode(' ', $icons) ?>
+ = $host->host_name ?>
+ host_unhandled_services) && $host->host_unhandled_services > 0): ?>
+ (= $this->qlink(
+ sprintf($this->translate('%d unhandled services'), $host->host_unhandled_services),
+ 'monitoring/show/services',
+ array(
+ 'host' => $host->host_name,
+ 'service_problem' => 1,
+ 'service_acknowledged' => 0,
+ 'service_in_downtime' => 0
+ ),
+ array('style' => 'font-weight: normal')
+ ) ?>)
+
+ = $this->escape(substr(strip_tags($host->host_output), 0, 10000)) ?> + |
+ extraColumns as $col): ?>
+ = $this->escape($host->$col) ?> | + +