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