mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove graph_min (#14561)
* Remove graph_min it doesn't do anything (scale_min sets minimum graph scale) (graph_max shows a line at max on some graphs) * fix style
This commit is contained in:
@@ -84,7 +84,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Sessions';
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ $colour_line = 'FF4500';
|
||||
$colour_area_max = 'FFEE99';
|
||||
|
||||
$graph_max = 1000;
|
||||
$graph_min = 1;
|
||||
|
||||
$unit_text = 'Load Average %';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'flows';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Connections';
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ $line_text = \LibreNMS\Util\Time::humanTime($vars['duration']);
|
||||
$graph_title .= '::' . $line_text;
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Availability(%)';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
//$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Sessions';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Sessions';
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ if (isset($components[$vars['id']])) {
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Dropped Requests';
|
||||
$line_text = 'Dropped Requests';
|
||||
|
||||
@@ -36,7 +36,6 @@ if (isset($components[$vars['id']])) {
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Resolved Requests';
|
||||
$line_text = 'Resolved Requests';
|
||||
|
||||
@@ -36,7 +36,6 @@ if (isset($components[$vars['id']])) {
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Dropped Requests';
|
||||
$line_text = 'Dropped Requests';
|
||||
|
||||
@@ -36,7 +36,6 @@ if (isset($components[$vars['id']])) {
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Requests';
|
||||
$line_text = 'Requests';
|
||||
|
||||
@@ -36,7 +36,6 @@ if (isset($components[$vars['id']])) {
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Resolved Requests';
|
||||
$line_text = 'Resolved Requests';
|
||||
|
||||
@@ -35,7 +35,6 @@ if (isset($components[$vars['id']])) {
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Total Connections';
|
||||
$line_text = 'Connections';
|
||||
|
||||
@@ -35,7 +35,6 @@ if (isset($components[$vars['id']])) {
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Current Connections';
|
||||
$line_text = 'Current Connections';
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Active connections';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Connection Rate';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Active connections';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Connection Rate';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_area = 'CDEB8B';
|
||||
$colour_area_max = 'cc9999';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Processes';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_area = 'CDEB8B';
|
||||
$colour_area_max = 'cc9999';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Users';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
$scale_min = '0';
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Leases';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '00cc00';
|
||||
$colour_area_max = '99cc99';
|
||||
$scale_min = '0';
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'PPPoE Sessions';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Requests';
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ $colour_area_max = '9999cc';
|
||||
$scale_min = '0';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'CM Offline';
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ $colour_area_max = '9999cc';
|
||||
$scale_min = '0';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'CM Registered';
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ $colour_area_max = '9999cc';
|
||||
$scale_min = '0';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'CM Total';
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ $colour_line = '0000cc';
|
||||
$colour_area_max = '9999cc';
|
||||
|
||||
$graph_max = 1;
|
||||
$graph_min = 0;
|
||||
|
||||
$unit_text = 'Optimized TCP Connections';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user