mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix Undefined variable/key warnings (#14134)
* Fix Undefined variable/key warnings * massage for test data * restore set_numeric, only generates noise * Fix ucd storage used (apparently free is not stored in discovery...)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
use LibreNMS\Config;
|
||||
|
||||
if (file_exists(Config::get('install_dir') . "/includes/polling/ntp/{$device['os_group']}.inc.php")) {
|
||||
if (isset($device['os_group']) && file_exists(Config::get('install_dir') . "/includes/polling/ntp/{$device['os_group']}.inc.php")) {
|
||||
include Config::get('install_dir') . "/includes/polling/ntp/{$device['os_group']}.inc.php";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user