mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Make poller-groups exclusive
This commit is contained in:
@@ -164,7 +164,7 @@ except:
|
|||||||
"""
|
"""
|
||||||
# (c) 2015, GPLv3, Daniel Preussker <f0o@devilcode.org> <<<EOC2
|
# (c) 2015, GPLv3, Daniel Preussker <f0o@devilcode.org> <<<EOC2
|
||||||
if poller_group is not False:
|
if poller_group is not False:
|
||||||
query = "select device_id from devices where (poller_group = " + poller_group + " or poller_group = 0) and disabled = 0 order by last_polled_timetaken desc"
|
query = "select device_id from devices where poller_group = " + poller_group + " and disabled = 0 order by last_polled_timetaken desc"
|
||||||
else:
|
else:
|
||||||
query = "select device_id from devices where disabled = 0 order by last_polled_timetaken desc"
|
query = "select device_id from devices where disabled = 0 order by last_polled_timetaken desc"
|
||||||
# EOC2
|
# EOC2
|
||||||
|
Reference in New Issue
Block a user