Add info about the active ido endpoint to monitoring health overview
resolves #9223
This commit is contained in:
parent
be696e5adf
commit
0e4201a997
|
@ -49,6 +49,7 @@ class Monitoring_ProcessController extends Controller
|
||||||
array(
|
array(
|
||||||
'is_currently_running',
|
'is_currently_running',
|
||||||
'process_id',
|
'process_id',
|
||||||
|
'endpoint_name',
|
||||||
'program_start_time',
|
'program_start_time',
|
||||||
'status_update_time',
|
'status_update_time',
|
||||||
'last_command_check',
|
'last_command_check',
|
||||||
|
|
|
@ -49,6 +49,12 @@ if (! $this->compact): ?>
|
||||||
? $this->programStatus->global_host_event_handler
|
? $this->programStatus->global_host_event_handler
|
||||||
: $this->translate('N/A'); ?></td>
|
: $this->translate('N/A'); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th><?= $this->translate('Active IDO Endpoint'); ?></th>
|
||||||
|
<td><?= $this->programStatus->endpoint_name
|
||||||
|
? $this->programStatus->endpoint_name
|
||||||
|
: $this->translate('N/A') ?></td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php if ((bool) $this->programStatus->is_currently_running === true): ?>
|
<?php if ((bool) $this->programStatus->is_currently_running === true): ?>
|
||||||
|
|
|
@ -26,6 +26,7 @@ class ProgramstatusQuery extends IdoQuery
|
||||||
END
|
END
|
||||||
END',
|
END',
|
||||||
'process_id' => 'process_id',
|
'process_id' => 'process_id',
|
||||||
|
'endpoint_name' => 'endpoint_name',
|
||||||
'daemon_mode' => 'daemon_mode',
|
'daemon_mode' => 'daemon_mode',
|
||||||
'last_command_check' => 'UNIX_TIMESTAMP(programstatus.last_command_check)',
|
'last_command_check' => 'UNIX_TIMESTAMP(programstatus.last_command_check)',
|
||||||
'last_log_rotation' => 'UNIX_TIMESTAMP(programstatus.last_log_rotation)',
|
'last_log_rotation' => 'UNIX_TIMESTAMP(programstatus.last_log_rotation)',
|
||||||
|
|
Loading…
Reference in New Issue