mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00: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