git-svn-id: http://www.observium.org/svn/observer/trunk@436 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2009-05-28 13:03:52 +00:00
parent a45c2c5aff
commit b6bf3ffb15
15 changed files with 42 additions and 5011 deletions
+4 -1
View File
@@ -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");