All interfaces with non-zero error rates
0 and (rrd_name='errors_in' or rrd_name='errors_out') ORDER BY name_cache";
html_start_box("Interfaces with Errors", "78%", $colors["header"], "3", "center");
html_header(array("Data Source", "RRD Name", "Last Value"));
$i = 0;
$queryrows = db_fetch_assoc($SQL);
foreach ($queryrows as $ds)
{
form_alternate_row_color($colors["alternate"],$colors["light"],$i);
print "".htmlspecialchars($ds['name_cache'])." | ";
print "".$ds['rrd_name']." | ";
print "".$ds['calculated']." | ";
print "";
$i++;
}
html_end_box();
if($i==0)
{
print "Well done! Either you have no errors in your network (or you forgot to add the errors data source...)
";
}
?>