mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #2637 from laf/snmp-perf
Moved system polling module to core to centralise some snmpget calls
This commit is contained in:
@@ -204,6 +204,9 @@ function poll_device($device, $options) {
|
||||
$graphs = array();
|
||||
$oldgraphs = array();
|
||||
|
||||
// we always want the core module to be included
|
||||
include 'includes/polling/core.inc.php';
|
||||
|
||||
if ($options['m']) {
|
||||
foreach (explode(',', $options['m']) as $module) {
|
||||
if (is_file('includes/polling/'.$module.'.inc.php')) {
|
||||
|
Reference in New Issue
Block a user