Merge pull request #2637 from laf/snmp-perf

Moved system polling module to core to centralise some snmpget calls
This commit is contained in:
Paul Gear
2016-01-15 20:10:09 +10:00
18 changed files with 147 additions and 147 deletions

View File

@@ -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')) {