mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
57db6e429b
commit
b5d6481c12
@ -10,28 +10,33 @@ $cf = $this->getHelper('CommandForm');
|
|||||||
|
|
||||||
<div class="content processinfo">
|
<div class="content processinfo">
|
||||||
<p>Backend <strong><?= $this->backendName; ?></strong>
|
<p>Backend <strong><?= $this->backendName; ?></strong>
|
||||||
<?= $ps->is_currently_running === '1' ? sprintf('has been running with PID %d ', $ps->process_id) . $this->prefixedTimeSince($ps->program_start_time) : 'is not running'; ?>.
|
<?= $ps->is_currently_running === '1'
|
||||||
|
? sprintf(
|
||||||
|
$this->translate('has been running with PID %d '),
|
||||||
|
$ps->process_id
|
||||||
|
) . $this->prefixedTimeSince($ps->program_start_time)
|
||||||
|
: $this->translate('is not running'); ?>.
|
||||||
|
|
||||||
<table class="avp">
|
<table class="avp">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Last status update</th>
|
<th><?= $this->translate('Last status update'); ?></th>
|
||||||
<td><?= $this->timeSince($ps->status_update_time) ?> ago</td>
|
<td><?= $this->timeSince($ps->status_update_time) ?> ago</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Last check command</th>
|
<th><?= $this->translate('Last check command'); ?></th>
|
||||||
<td><?= $this->timeSince($ps->last_command_check) ?> ago</td>
|
<td><?= $this->timeSince($ps->last_command_check) ?> ago</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Global host event handler</th>
|
<th><?= $this->translate('Global host event handler'); ?></th>
|
||||||
<td><?= $ps->global_host_event_handler ? $ps->global_host_event_handler : 'Not set' ?></td>
|
<td><?= $ps->global_host_event_handler ? $ps->global_host_event_handler : $this->translate('Not set'); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Global service event handler</th>
|
<th><?= $this->translate('Global service event handler'); ?></th>
|
||||||
<td><?= $ps->global_service_event_handler ? $ps->global_service_event_handler : 'Not set' ?></td>
|
<td><?= $ps->global_service_event_handler ? $ps->global_service_event_handler : $this->translate('Not set'); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Notifications enabled</th>
|
<th><?= $this->translate('Notifications enabled'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->notifications_enabled,
|
$ps->notifications_enabled,
|
||||||
@ -41,15 +46,18 @@ $cf = $this->getHelper('CommandForm');
|
|||||||
array('global' => '1')
|
array('global' => '1')
|
||||||
) ?>
|
) ?>
|
||||||
<?php if ($ps->notifications_enabled === '1'): ?>
|
<?php if ($ps->notifications_enabled === '1'): ?>
|
||||||
<a rel="tooltip" title="Disable notifications for a specific time on a program-wide basis" href="<?= $this->href('monitoring/command/disablenotificationswithexpire') ?>" data-base-target="_next">Temporarily disable</a>
|
<a rel="tooltip" title="<?= $this->translate('Disable notifications for a specific time on a program-wide basis'); ?>"
|
||||||
|
href="<?= $this->href('monitoring/command/disablenotificationswithexpire') ?>" data-base-target="_next">
|
||||||
|
<?= $this->translate('Temporarily disable'); ?>
|
||||||
|
</a>
|
||||||
<?php elseif ($ps->disable_notif_expire_time): ?>
|
<?php elseif ($ps->disable_notif_expire_time): ?>
|
||||||
Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_time) ?></strong>
|
<?= sprintf($this->translate('Will be re-enabled in %s'), '<strong>' . $this->timeUntil($ps->disable_notif_expire_time) . '</strong>'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Execute active service checks</th>
|
<th><?= $this->translate('Execute active service checks'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->active_service_checks_enabled,
|
$ps->active_service_checks_enabled,
|
||||||
@ -60,7 +68,7 @@ Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_tim
|
|||||||
) ?></td>
|
) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Accept passive service checks</th>
|
<th><?= $this->translate('Accept passive service checks'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->passive_service_checks_enabled,
|
$ps->passive_service_checks_enabled,
|
||||||
@ -71,7 +79,7 @@ Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_tim
|
|||||||
) ?></td>
|
) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Execute active host checks</th>
|
<th><?= $this->translate('Execute active host checks'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->active_host_checks_enabled,
|
$ps->active_host_checks_enabled,
|
||||||
@ -82,7 +90,7 @@ Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_tim
|
|||||||
) ?></td>
|
) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Accept passive host checks</th>
|
<th><?= $this->translate('Accept passive host checks'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->passive_host_checks_enabled,
|
$ps->passive_host_checks_enabled,
|
||||||
@ -93,7 +101,7 @@ Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_tim
|
|||||||
) ?></td>
|
) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Eventhandlers enabled</th>
|
<th><?= $this->translate('Eventhandlers enabled'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->event_handlers_enabled,
|
$ps->event_handlers_enabled,
|
||||||
@ -104,7 +112,7 @@ Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_tim
|
|||||||
) ?></td>
|
) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Obsessing over host checks</th>
|
<th><?= $this->translate('Obsessing over host checks'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->obsess_over_hosts,
|
$ps->obsess_over_hosts,
|
||||||
@ -115,7 +123,7 @@ Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_tim
|
|||||||
) ?></td>
|
) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Obsessing over service checks</th>
|
<th><?= $this->translate('Obsessing over service checks'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->obsess_over_services,
|
$ps->obsess_over_services,
|
||||||
@ -126,7 +134,7 @@ Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_tim
|
|||||||
) ?></td>
|
) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Flap detection enabled</th>
|
<th><?= $this->translate('Flap detection enabled'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->flap_detection_enabled,
|
$ps->flap_detection_enabled,
|
||||||
@ -137,7 +145,7 @@ Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_tim
|
|||||||
) ?></td>
|
) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Process performance data</th>
|
<th><?= $this->translate('Process performance data'); ?></th>
|
||||||
<td><?= $cf->toggleSubmitForm(
|
<td><?= $cf->toggleSubmitForm(
|
||||||
'',
|
'',
|
||||||
$ps->process_performance_data,
|
$ps->process_performance_data,
|
||||||
@ -148,17 +156,17 @@ Will be re-enabled in <strong><?= $this->timeUntil($ps->disable_notif_expire_tim
|
|||||||
) ?></td>
|
) ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Monitoring Process</th>
|
<th><?= $this->translate('Monitoring Process'); ?></th>
|
||||||
<td><?= $cf->labelSubmitForm(
|
<td><?= $cf->labelSubmitForm(
|
||||||
'Restart',
|
$this->translate('Restart'),
|
||||||
'Restart the monitoring process',
|
$this->translate('Restart the monitoring process'),
|
||||||
'',
|
'',
|
||||||
'restartprocess'
|
'restartprocess'
|
||||||
) ?>
|
) ?>
|
||||||
<!--<?=
|
<!--<?=
|
||||||
$cf->labelSubmitForm(
|
$cf->labelSubmitForm(
|
||||||
'Shutdown monitoring process',
|
$this->translate('Shutdown monitoring process'),
|
||||||
'Shutdown the monitoring process',
|
$this->translate('Shutdown the monitoring process'),
|
||||||
'btn-cta',
|
'btn-cta',
|
||||||
'shutdownprocess'
|
'shutdownprocess'
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user