Adding total traffic per device graph generation

git-svn-id: http://www.observium.org/svn/observer/trunk@57 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2007-04-04 14:25:17 +00:00
parent d4c81b44ea
commit 5154885182
4 changed files with 97 additions and 8 deletions
+4
View File
@@ -50,7 +50,11 @@ echo("</table></div>");
echo("</td><td width=50% valign=top>");
if($interfaces['total']) {
echo("<div style='background-color: #eeeeee; margin: 5px; padding: 5px;'>
<p class=sectionhead>Total Traffic</p>" . device_traffic_image($device['id'], 490, 100, $day, $now) . "</div>");
}
if($interfaces['total']) {
echo("<div style='background-color: #eeeeee; margin: 5px; padding: 5px;'>");
echo("<p class=sectionhead>Interfaces</p><div style='height: 5px;'></div>");