Added load and state to device overview

This commit is contained in:
laf
2015-06-24 16:53:10 +01:00
parent db4a5de847
commit 44432c85e5
3 changed files with 18 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ include("overview/sensors/voltages.inc.php");
include("overview/sensors/current.inc.php");
include("overview/sensors/power.inc.php");
include("overview/sensors/frequencies.inc.php");
include("overview/sensors/load.inc.php");
include("overview/sensors/state.inc.php");
include("overview/eventlog.inc.php");
include("overview/services.inc.php");
include("overview/syslog.inc.php");

View File

@@ -0,0 +1,8 @@
<?php
$graph_type = "sensor_load";
$sensor_class = "load";
$sensor_unit = "%";
$sensor_type = "Load";
include('pages/device/overview/generic/sensor.inc.php');

View File

@@ -0,0 +1,8 @@
<?php
$graph_type = "sensor_state";
$sensor_class = "state";
$sensor_unit = "#";
$sensor_type = "State";
include('pages/device/overview/generic/sensor.inc.php');