add power to device overview

git-svn-id: http://www.observium.org/svn/observer/trunk@2130 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-04-21 13:25:13 +00:00
parent d12b4240dc
commit bf138579bb
2 changed files with 12 additions and 1 deletions

View File

@@ -88,8 +88,9 @@ include("overview/sensors/temperatures.inc.php");
include("overview/sensors/humidity.inc.php");
include("overview/sensors/fanspeeds.inc.php");
include("overview/sensors/voltages.inc.php");
include("overview/sensors/frequencies.inc.php");
include("overview/sensors/current.inc.php");
include("overview/sensors/power.inc.php");
include("overview/sensors/frequencies.inc.php");
echo("<div style='background-color: #eeeeee; margin: 5px; padding: 5px;'>");
echo("<p style='padding: 0px 5px 5px;' class=sectionhead>");

View File

@@ -0,0 +1,10 @@
<?php
$graph_type = "sensor_power";
$sensor_class = "power";
$sensor_unit = "W";
$sensor_type = "Power";
include('pages/device/overview/generic/sensor.inc.php');
?>