mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
fixes to new sensors setup
git-svn-id: http://www.observium.org/svn/observer/trunk@1533 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+2
-1
@@ -44,13 +44,14 @@ $devices_polled = 0;
|
||||
|
||||
echo("includes/discovery/".$type.".php \n");
|
||||
|
||||
$debug = 1;
|
||||
#$debug = 1;
|
||||
|
||||
|
||||
$device_query = mysql_query("SELECT * FROM `devices` WHERE status = '1' $where ORDER BY device_id ASC");
|
||||
while ($device = mysql_fetch_array($device_query)) {
|
||||
|
||||
echo($device['hostname'] . "(".$device['sysName']."|".$device['device_id'].")\n");
|
||||
if($config['os'][$device['os']]['group']) {$device['os_group'] = $config['os'][$device['os']]['group']; echo "(".$device['os_group'].")";}
|
||||
|
||||
include("includes/discovery/".$type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user