mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
health => db* and genericify sensors pages
git-svn-id: http://www.observium.org/svn/observer/trunk@2331 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -13,8 +13,7 @@ echo("<tr class=tablehead>
|
||||
</tr>");
|
||||
|
||||
$i = '1';
|
||||
$procs = mysql_query("SELECT * FROM `processors` AS P, `devices` AS D WHERE D.device_id = P.device_id ORDER BY D.hostname");
|
||||
while ($proc = mysql_fetch_assoc($procs))
|
||||
foreach (dbFetchRows("SELECT * FROM `processors` AS P, `devices` AS D WHERE D.device_id = P.device_id ORDER BY D.hostname") as $proc)
|
||||
{
|
||||
if (device_permitted($proc['device_id']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user