mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Scrut fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user