mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
make sure lock name matches action
This commit is contained in:
@@ -250,7 +250,8 @@ dev_query = ('SELECT device_id, status,
|
||||
') as next_discovery '
|
||||
'FROM devices WHERE '
|
||||
'disabled = 0 '
|
||||
'AND IS_FREE_LOCK(CONCAT("polling.", device_id)) '
|
||||
'AND IS_FREE_LOCK(CONCAT("poll.", device_id)) '
|
||||
'AND IS_FREE_LOCK(CONCAT("discovery.", device_id)) '
|
||||
'AND ( last_poll_attempted < DATE_SUB(NOW(), INTERVAL {2} SECOND ) '
|
||||
' OR last_poll_attempted IS NULL ) '
|
||||
'{3} '
|
||||
|
Reference in New Issue
Block a user