mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
small fix not to show stack value on legend
This commit is contained in:
@@ -4,7 +4,7 @@ $scale_min = 0;
|
|||||||
$colours = 'mixed';
|
$colours = 'mixed';
|
||||||
$unit_text = 'Operation';
|
$unit_text = 'Operation';
|
||||||
$unitlen = 9;
|
$unitlen = 9;
|
||||||
$stack = 0;
|
$dostack = 0;
|
||||||
$rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/app-nfsstats-'.$app['app_id'].'.rrd';
|
$rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/app-nfsstats-'.$app['app_id'].'.rrd';
|
||||||
$array = array(
|
$array = array(
|
||||||
'total' => array(
|
'total' => array(
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ foreach ($rrd_list as $rrd) {
|
|||||||
$t_defname = $g_defname;
|
$t_defname = $g_defname;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($i && ($stack === 1)) {
|
if ($i && ($dostack === 1)) {
|
||||||
$stack = ':STACK';
|
$stack = ':STACK';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user