parent
af7db257fe
commit
ac2201c3bc
|
@ -90,7 +90,7 @@ $viewHelper = $this->getHelper('MonitoringState');
|
|||
<?php if ($service->service_state): ?>
|
||||
<br />
|
||||
<strong>Attempt:</strong>
|
||||
<?= $service->service_current_check_attempt; ?>/<?= $service->service_max_check_attempts; ?>
|
||||
<?= $service->current_check_attempt; ?>/<?= $service->max_check_attempts; ?>
|
||||
(<?= ($service->service_state_type === '1') ? 'Hard' : 'Soft'; ?>)
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
|
|
@ -49,7 +49,9 @@ class Controller extends ActionController
|
|||
'service_notes_url',
|
||||
'service_last_comment',
|
||||
'service_active_checks_enabled',
|
||||
'service_passive_checks_enabled'
|
||||
'service_passive_checks_enabled',
|
||||
'current_check_attempt' => 'service_current_check_attempt',
|
||||
'max_check_attempts' => 'service_max_check_attempts'
|
||||
);
|
||||
if ($params === null) {
|
||||
$query = HostAndServiceStatusView::fromRequest(
|
||||
|
|
|
@ -60,7 +60,7 @@ class Service extends AbstractObject
|
|||
'check_command' => 'service_check_command',
|
||||
'perfdata' => 'service_perfdata',
|
||||
'current_check_attempt' => 'service_current_check_attempt',
|
||||
'max_check_attemt' => 'service_max_check_attempts',
|
||||
'max_check_attempts' => 'service_max_check_attempts',
|
||||
'state_type' => 'service_state_type',
|
||||
'passive_checks_enabled' => 'service_passive_checks_enabled',
|
||||
'last_state_change' => 'service_last_state_change',
|
||||
|
|
Loading…
Reference in New Issue