Oxidized update and Device remove (#13730)

* Oxidized + Device remove
Was just working on oxidized, but then to properly update nodes after delete, updated delete_device()

* revert dumb style changes

* baseline update and no DI there...

* Fix OS first load and device deletion missing tables
This commit is contained in:
Tony Murray
2022-01-29 21:09:05 -06:00
committed by GitHub
parent 29ff20d7eb
commit b6a8b602b8
19 changed files with 315 additions and 184 deletions

View File

@@ -125,7 +125,9 @@ class Core implements Module
];
// check yaml files
\LibreNMS\Util\OS::loadAllDefinitions();
$os_defs = Config::get('os');
foreach ($os_defs as $os => $def) {
if (isset($def['discovery']) && ! in_array($os, $generic_os)) {
if (self::discoveryIsSlow($def)) {