mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Tidy up debug vs. non-debug output
This commit is contained in:
@@ -364,7 +364,6 @@ function rrd_create_update($device, $name, $def, $val, $step = 300)
|
||||
if (!is_file($rrd) && $def != null) {
|
||||
// add the --step and the rra definitions to the array
|
||||
$newdef = "--step $step ".implode(' ', $def).$config['rrd_rra'];
|
||||
d_echo("Creating RRD $rrd: $newdef");
|
||||
rrdtool_create($rrd, $newdef);
|
||||
}
|
||||
|
||||
|
||||
@@ -11,10 +11,12 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
d_echo("MIB-based polling");
|
||||
echo("MIB-based polling");
|
||||
d_echo("\n", ": ");
|
||||
|
||||
$devicemib = array($device['sysObjectID'] => "all");
|
||||
poll_mibs($devicemib, $device, $graphs);
|
||||
|
||||
d_echo("Done MIB-based polling");
|
||||
echo("\n");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user