Add info about the active ido endpoint to monitoring health overview

resolves 
This commit is contained in:
Alexander Fuhr 2015-05-05 15:20:25 +02:00
parent be696e5adf
commit 0e4201a997
3 changed files with 8 additions and 0 deletions
modules/monitoring
application
controllers
views/scripts/process
library/Monitoring/Backend/Ido/Query

@ -49,6 +49,7 @@ class Monitoring_ProcessController extends Controller
array(
'is_currently_running',
'process_id',
'endpoint_name',
'program_start_time',
'status_update_time',
'last_command_check',

@ -49,6 +49,12 @@ if (! $this->compact): ?>
? $this->programStatus->global_host_event_handler
: $this->translate('N/A'); ?></td>
</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>
</table>
<?php if ((bool) $this->programStatus->is_currently_running === true): ?>

@ -26,6 +26,7 @@ class ProgramstatusQuery extends IdoQuery
END
END',
'process_id' => 'process_id',
'endpoint_name' => 'endpoint_name',
'daemon_mode' => 'daemon_mode',
'last_command_check' => 'UNIX_TIMESTAMP(programstatus.last_command_check)',
'last_log_rotation' => 'UNIX_TIMESTAMP(programstatus.last_log_rotation)',