CC-2750: Ability to query health status for pypo, liquidsoap,

media monitor, and recorder
This commit is contained in:
martin 2011-09-13 18:43:16 -04:00
parent 874220ce30
commit 583a5faf72
5 changed files with 86 additions and 29 deletions

View file

@ -1,9 +1,10 @@
<?php foreach($this->status as $key=>$value): ?>
<?php list($desc, $status, $downloadLog) = $value;?>
<div>
<?php echo $desc; ?>
<?php echo $status; ?>
<?php if ($downloadLog): ?>
<?php echo $key; ?>
<?php echo "PID: ".$value["process_id"]; ?>
<?php echo "UPTIME: ".$value["uptime_seconds"]; ?>
<?php if (true): ?>
<a href="systemstatus/get-log-file/id/<?php echo $key ?>">Log file</a>
<?php endif; ?>
</div>