mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
more mge fixes, cleanups, and addition of frequency monitoring (no webinterface part yet)
git-svn-id: http://www.observium.org/svn/observer/trunk@1095 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -43,7 +43,9 @@ $health = mysql_result(mysql_query("select count(*) from storage WHERE device_i
|
||||
mysql_result(mysql_query("select count(temp_id) from temperature WHERE device_id = '" . $device['device_id'] . "'"), 0) +
|
||||
mysql_result(mysql_query("select count(*) from cempMemPool WHERE device_id = '" . $device['device_id'] . "'"), 0) +
|
||||
mysql_result(mysql_query("select count(*) from cpmCPU WHERE device_id = '" . $device['device_id'] . "'"), 0) +
|
||||
mysql_result(mysql_query("select count(*) from processors WHERE device_id = '" . $device['device_id'] . "'"), 0);
|
||||
mysql_result(mysql_query("select count(*) from processors WHERE device_id = '" . $device['device_id'] . "'"), 0) +
|
||||
mysql_result(mysql_query("select count(volt_id) from voltage WHERE device_id = '" . $device['device_id'] . "'"), 0) +
|
||||
mysql_result(mysql_query("select count(fan_id) from fanspeed WHERE device_id = '" . $device['device_id'] . "'"), 0);
|
||||
|
||||
if($health) {
|
||||
echo('<li class="' . $select['health'] . '">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
$graph_title = "Device Uptime";
|
||||
$graph_type = "device_uptime"; include ("includes/print-device-graph.php"); break;
|
||||
include("uptime.inc.php");
|
||||
|
||||
?>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
$graph_title = "Device Uptime";
|
||||
$graph_type = "device_uptime"; include ("includes/print-device-graph.php"); break;
|
||||
include("uptime.inc.php");
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user