Discovered devices are polled for ARP and MAC immediately
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
* [#170] Show device SNMP::Info class in web interface
|
||||
* [#133] Custom reports respect sorting in SQL
|
||||
* Add "Run Expire Job" to the Admin Menu
|
||||
* Discovered devices are polled for ARP and MAC immediately
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
|
||||
@@ -957,14 +957,12 @@ sub discover_new_neighbors {
|
||||
next;
|
||||
}
|
||||
|
||||
# Don't queue if job already exists
|
||||
if (List::MoreUtils::none {$_ eq $ip} jq_queued('discover')) {
|
||||
jq_insert({
|
||||
device => $ip,
|
||||
action => 'discover',
|
||||
subaction => 'with-nodes',
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user