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