% if on:
% if 'monitoring' in config and len(config.monitoring) and 'baseuri' in config.monitoring[0]:
<tr><td>CPU history:</td><td><img src="${config.monitoring[0].baseuri}usage.cgi?type=cpu;uuid=${machine.uuid}" alt="Domain CPU usage" /></td></tr>
% if on:
% if 'monitoring' in config and len(config.monitoring) and 'baseuri' in config.monitoring[0]:
<tr><td>CPU history:</td><td><img src="${config.monitoring[0].baseuri}usage.cgi?type=cpu;uuid=${machine.uuid}" alt="Domain CPU usage" /></td></tr>