Added support for Oxidized

This commit is contained in:
laf
2015-05-06 22:52:54 +01:00
parent 7f5a64967e
commit dc0d12936c
3 changed files with 117 additions and 73 deletions

View File

@@ -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)