<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?python
-layout_params['page_title'] = "Monitor PCU View"
+layout_params['page_title'] = "MyOps Detail View"
from monitor.util import diff_time
from monitor import config
from time import mktime
<thead>
<tr>
<th mochi:format="int"></th>
- <th>History</th>
+ <th>History (scan)</th>
<th>Hostname</th>
- <th>last_contact</th>
+ <th>last_contact (cached)</th>
<th>last_checked</th>
<th nowrap='true'>Port Status</th>
<th></th>
<tbody>
<tr py:for="i,agg in enumerate(nodequery)" class="${i%2 and 'odd' or 'even'}" >
<td></td>
- <td><a href="nodehistory?hostname=${agg.node.hostname}">history</a></td>
+ <td><a href="nodehistory?hostname=${agg.node.hostname}">status</a>
+ (<a href="nodescanhistory?hostname=${agg.node.hostname}">scan</a>) history</td>
<td id="node-${agg.node.observed_status}" nowrap="true" >
<a class="ext-link" href="${plc_node_uri_id(agg.node.plc_node_stats['node_id'])}">
<span class="icon">${agg.node.hostname}</span></a>
<div id="status_block" class="flash"
py:if="value_of('tg_flash', None)" py:content="tg_flash"></div>
- <h4>Actions Over the Last Week</h4>
+ <h4>Actions Over the Last ${since} Days</h4>
<p py:if="actions and len(actions) == 0">
There are no recent actions taken for this site.
</p>
<td py:content="act.action_type"></td>
<td><a class="ext-link" href="${plc_mail_uri(act.message_id)}">
<span py:if="act.message_id != 0" class="icon">${act.message_id}</span></a></td>
- <td py:if="'bootmanager' in act.action_type">
+ <td py:if="'bootmanager' in act.action_type or 'unknown' in act.action_type">
<a href="/monitorlog/bm.${act.hostname}.log">latest bm log</a>
</td>
<td py:if="'bootmanager' not in act.action_type">