Updated to fix scrut issues

This commit is contained in:
laf
2015-04-03 20:10:42 +01:00
parent ac4eba78e4
commit 97039768a6
24 changed files with 1 additions and 27 deletions
@@ -22,5 +22,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:txCapacityC:MIN:%0.2lf%s "; $rrd_options .= " GPRINT:txCapacityC:MIN:%0.2lf%s ";
$rrd_options .= " GPRINT:txCapacityC:MAX:%0.2lf%s\\\l "; $rrd_options .= " GPRINT:txCapacityC:MAX:%0.2lf%s\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:radioLinkDistM:MAX:%3.2lf%s\\\l "; $rrd_options .= " GPRINT:radioLinkDistM:MAX:%3.2lf%s\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:rxoctetsAll:MAX:%0.2lf%s\\\l "; $rrd_options .= " GPRINT:rxoctetsAll:MAX:%0.2lf%s\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:txoctetsAll:MAX:%0.2lf%s\\\l "; $rrd_options .= " GPRINT:txoctetsAll:MAX:%0.2lf%s\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:rxpktsAll:MAX:%0.2lf%s\\\l "; $rrd_options .= " GPRINT:rxpktsAll:MAX:%0.2lf%s\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:txpktsAll:MAX:%0.2lf%s\\\l "; $rrd_options .= " GPRINT:txpktsAll:MAX:%0.2lf%s\\\l ";
} }
?>
@@ -21,4 +21,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:txFrequency:MAX:%0.2lf%s\\\l "; $rrd_options .= " GPRINT:txFrequency:MAX:%0.2lf%s\\\l ";
} }
?>
@@ -21,4 +21,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:radio1TempC:MAX:%0.2lf%s\\\l "; $rrd_options .= " GPRINT:radio1TempC:MAX:%0.2lf%s\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:txPower:MAX:%3.2lf\\\l "; $rrd_options .= " GPRINT:txPower:MAX:%3.2lf\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:AirMaxCapacity:MAX:%3.0lf\\\l "; $rrd_options .= " GPRINT:AirMaxCapacity:MAX:%3.0lf\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:AirMaxQuality:MAX:%3.0lf\\\l "; $rrd_options .= " GPRINT:AirMaxQuality:MAX:%3.0lf\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:RadioDistance:MAX:%3.2lf%s\\\l "; $rrd_options .= " GPRINT:RadioDistance:MAX:%3.2lf%s\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:RadioFreq:MAX:%3.2lf%s\\\l "; $rrd_options .= " GPRINT:RadioFreq:MAX:%3.2lf%s\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:RadioRssi_0:MAX:%3.2lf\\\l "; $rrd_options .= " GPRINT:RadioRssi_0:MAX:%3.2lf\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:RadioRssi_1:MAX:%3.2lf\\\l "; $rrd_options .= " GPRINT:RadioRssi_1:MAX:%3.2lf\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:RadioTxPower:MAX:%3.2lf\\\l "; $rrd_options .= " GPRINT:RadioTxPower:MAX:%3.2lf\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:WlStatCcq:MAX:%3.2lf\\\l "; $rrd_options .= " GPRINT:WlStatCcq:MAX:%3.2lf\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:WlStatNoiseFloor:MAX:%3.2lf\\\l "; $rrd_options .= " GPRINT:WlStatNoiseFloor:MAX:%3.2lf\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:WlStatRssi:MAX:%3.2lf\\\l "; $rrd_options .= " GPRINT:WlStatRssi:MAX:%3.2lf\\\l ";
} }
?>
@@ -17,4 +17,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:WlStatRxRateC:MAX:%0.2lf%s\\\l "; $rrd_options .= " GPRINT:WlStatRxRateC:MAX:%0.2lf%s\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:WlStatSignal:MAX:%3.2lf\\\l "; $rrd_options .= " GPRINT:WlStatSignal:MAX:%3.2lf\\\l ";
} }
?>
@@ -16,4 +16,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:WlStatStaCount:MAX:%3.0lf\\\l "; $rrd_options .= " GPRINT:WlStatStaCount:MAX:%3.0lf\\\l ";
} }
?>
@@ -17,4 +17,3 @@ if (file_exists($rrdfilename))
$rrd_options .= " GPRINT:WlStatTxRateC:MAX:%0.2lf%s\\\l "; $rrd_options .= " GPRINT:WlStatTxRateC:MAX:%0.2lf%s\\\l ";
} }
?>
+1 -3
View File
@@ -247,11 +247,9 @@ function poll_mib_def($device, $mib_name_table, $mib_subdir, $mib_oids, $mib_gra
global $config; global $config;
echo("This is mag_poll_mib_def Processing\n"); echo("This is mag_poll_mib_def Processing\n");
$rrd = array();
$mib = NULL; $mib = NULL;
$table = NULL;
list($mib,$table) = explode(":", $mib_name_table, 2); list($mib,) = explode(":", $mib_name_table, 2);
//$mib_dirs = mib_dirs($mib_subdir); //$mib_dirs = mib_dirs($mib_subdir);