mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Device status changes now are processed correctly, and report down in the eventlog as well
git-svn-id: http://www.observium.org/svn/observer/trunk@599 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -42,6 +42,7 @@ echo("Starting polling run:\n\n");
|
||||
$i = 0;
|
||||
$device_query = mysql_query("SELECT * FROM `devices` WHERE `ignore` = '0' $where ORDER BY `device_id` ASC");
|
||||
while ($device = mysql_fetch_array($device_query)) {
|
||||
$status = 0;
|
||||
|
||||
echo($device['hostname'] . " ".$device['device_id']." ".$device['os']." ");
|
||||
if($os_groups[$device[os]]) {$device['os_group'] = $os_groups[$device[os]]; echo "(".$device['os_group'].")";}
|
||||
|
||||
Reference in New Issue
Block a user