mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Added support for Oxidized
This commit is contained in:
@@ -342,6 +342,9 @@ if (device_permitted($vars['device']) || $check_device == $vars['device'])
|
||||
if ($configs[strlen($configs)-1] != '/') { $configs .= '/'; }
|
||||
if (is_file($configs . $device['hostname'])) { $device_config_file = $configs . $device['hostname']; }
|
||||
}
|
||||
if ($config['oxidized']['enabled'] === TRUE && isset($config['oxidized']['url'])) {
|
||||
$device_config_file = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
if ($device_config_file)
|
||||
|
||||
Reference in New Issue
Block a user