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:
Tony Murray
2016-09-19 21:12:26 -05:00
parent 3272b82958
commit c31b3c0301
383 changed files with 1235 additions and 531 deletions

View File

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