Moved system polling module to core to centralise some snmpget calls

This commit is contained in:
laf
2015-12-16 20:56:58 +00:00
parent 6cfe0c4b3f
commit 821a797ac9
18 changed files with 142 additions and 142 deletions

View File

@@ -201,6 +201,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')) {