mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
Adding the ability to use multiple poller groups for a poller.
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ include("includes/sql-schema/update.php");
|
||||
$discovered_devices = 0;
|
||||
|
||||
if ($config['distributed_poller'] === TRUE) {
|
||||
$where .= " AND poller_group=?";
|
||||
$where .= " AND poller_group IN(?)";
|
||||
$params = array($config['distributed_poller_group']);
|
||||
}
|
||||
foreach (dbFetch("SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 $where ORDER BY device_id DESC",$params) as $device)
|
||||
|
||||
Reference in New Issue
Block a user