Scrut fixes

This commit is contained in:
laf
2016-07-07 19:10:37 +01:00
parent 07dc5ffaed
commit eb58daa207
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ function getDates($dayofmonth, $months=0) {
}//end getDates()
function getValue($host, $port, $id, $inout, $port_data=array()) {
function getValue($host, $port, $id, $inout) {
global $config;
$oid = 'IF-MIB::ifHC'.$inout.'Octets.'.$id;

View File

@@ -1536,5 +1536,5 @@ function create_sensor_to_state_index($device, $state_name, $index)
}
function delta_to_bits($delta,$period) {
return round(($_delta * 8 / $period), 2);
return round(($delta * 8 / $period), 2);
}