Some more small tweaks to get everything together

This commit is contained in:
laf
2015-04-30 18:23:42 +01:00
parent 0f43550fcf
commit 19790fa514
3 changed files with 6 additions and 4 deletions

View File

@@ -245,7 +245,7 @@ function poll_device($device, $options)
}
}
function poll_mib_def($device, $mib_name_table, $mib_subdir, $mib_oids, $mib_graphs, &$graphs, $rrd_options)
function poll_mib_def($device, $mib_name_table, $mib_subdir, $mib_oids, $mib_graphs, &$graphs)
{
global $config;
@@ -275,7 +275,7 @@ function poll_mib_def($device, $mib_name_table, $mib_subdir, $mib_oids, $mib_gra
if (strlen($oiddsname) > 19) { $oiddsname = truncate($oiddsname, 19, ''); }
if (empty($oiddsopts)) {
$rrd_options = "600:U:100000000000";
$oiddsopts = "600:U:100000000000";
}
$rrdcreate .= ' DS:'.$oiddsname.':'.$oiddstype.':'.$oiddsopts;