type === 2 ? 'service' : 'host'; /** @var Zend_View_Helper_CommandForm $cf */ $cf = $this->getHelper('CommandForm'); if ($type === 'host') { $objectStateName = strtolower($this->util()->getHostStateName($this->object->host_state)); $objectState = (int) $object->host_state; } else { $objectStateName = strtolower($this->util()->getServiceStateName($this->object->service_state)); $objectState = (int) $object->service_state; } ?>
escape($object->host_name); ?> host_name !== $object->host_alias) ? ',' : ''; ?> host_name !== $object->host_alias): ?> host_alias ?> - util()->getHostStateName($this->object->host_state); ?> since timeSince($this->object->host_last_state_change); ?> escape($object->service_description); ?> - util()->getServiceStateName($object->service_state); ?> since timeSince($object->service_slast_state_change); ?> render('show/components/statusIcons.phtml'); ?> service_display_name && $object->service_description !== $object->service_display_name): ?>
(service_display_name; ?>)
On host_name; ?> host_state > 0): ?> (util()->getHostStateName($this->object->host_state); ?>) action_url || $object->notes_url): ?>
notes_url): ?> notes_url, "' ") === false): ?> Notes notes_url) as $url): ?> Notes action_url): ?> action_url, "' ") === false): ?> Action action_url) as $url): ?> Action

pluginOutput($object->output); ?>

0): ?> object->host_acknowledged || $this->object->service_acknowledged): ?> labelSubmitForm( 'Remove Ack', 'Remove problem acknowledgement', 'btn-cta btn-half-left', 'removeacknowledgement', array( 'host' => $this->object->host_name, 'service' => $this->object->service_description ) ) ?> Acknowledge labelSubmitForm( 'Recheck', 'Reschedule next check immediately', 'btn-cta ' . (($objectState > 0) ? 'btn-half-right' : 'btn-wide'), 'reschedulenextcheck', array( 'host' => $this->object->host_name, 'service' => $this->object->service_description, 'checktime' => time(), 'forcecheck' => '1' ) ) ?>
perfdata): ?>
perfdata($this->object->perfdata); ?>
long_output): ?>
pluginOutput($object->long_output); ?>
is_flapping): ?>
Flapping
percent_state_change) ?>% state change
Last Check
dateFormat()->formatDateTime($object->last_check); ?>
Next Check
dateFormat()->formatDateTime($object->next_check); ?>
0): ?> service_description) { $notificationsHref = $this->href( 'monitoring/list/notifications', array( 'host' => $object->host_name, 'service' => $object->service_description ) ); } else { $notificationsHref = $this->href( 'monitoring/list/notifications', array( 'host' => $object->host_name ) ); } ?>