mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 16:26:55 +02:00
Updated to fix scrut issues
This commit is contained in:
@@ -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 ";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user