diff --git a/doc/Extensions/MIB-based-polling.md b/doc/Extensions/MIB-based-polling.md index d7892fffb..8358c44e7 100644 --- a/doc/Extensions/MIB-based-polling.md +++ b/doc/Extensions/MIB-based-polling.md @@ -34,7 +34,7 @@ enabling MIB-based polling on my test Ruckus ZD1000 wireless controller with one (1) AP and one (1) user on that AP resulted in a 5 MB increase in RRD space usage for that device. Each RRD file is around 125 KB in size (on x64-64 systems) and is pre-allocated, so after the first discovery and poller -run of each devicewith MIB-based polling enabled, disk space should be stable. +run of each device with MIB-based polling enabled, disk space should be stable. However, monitoring disk usage is your responsibility. (The good news: you can do this with LibreNMS. :-) diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 7059a269e..74ae6f7a1 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -110,8 +110,14 @@ if ( dbFetchCell("SELECT 1 from `packages` LIMIT 1") ) {
+Set $config[\'poller_modules\'][\'mib\'] = 1; in config.php to enable. +
'; +} // print_mib_poller_disabled + + /** * Constructs the path to an RRD for the Ceph application * @param string $gtype The type of rrd we're looking for diff --git a/includes/snmp.inc.php b/includes/snmp.inc.php index cb83d8068..6d1c32238 100644 --- a/includes/snmp.inc.php +++ b/includes/snmp.inc.php @@ -1211,24 +1211,6 @@ function load_device_mibs($device) } // load_device_mibs -/* - * @return true if this device should be polled with MIB-based discovery - */ -function is_mib_poller_enabled($device) -{ - if (!is_module_enabled('poller', 'mib')) { - d_echo("MIB polling module disabled globally.\n"); - return false; - } - - if (!is_dev_attrib_enabled($device, 'poll_mib')) { - d_echo('MIB module disabled for '.$device['hostname']."\n"); - return false; - } - - return true; -} // is_mib_poller_enabled - /* * Run MIB-based polling for $device. Update $graphs with the results. */