mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
feature: use snmpsim for testing
fallback feature so we don't have to run snmpsim on devel computers, should be adequate for now ./scripts/pre-commit.php -u -snmpsim will start an snmpsimd.py process automatically
This commit is contained in:
@@ -116,6 +116,7 @@ function getHostOS($device)
|
||||
|
||||
d_echo("| $sysDescr | $sysObjectId | \n");
|
||||
|
||||
$os = null;
|
||||
$pattern = $config['install_dir'] . '/includes/discovery/os/*.inc.php';
|
||||
foreach (glob($pattern) as $file) {
|
||||
include $file;
|
||||
|
||||
Reference in New Issue
Block a user