mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Adding --daemon twice breaks collectd graphs
When using rrdcached [rrdtool.inc.php](includes/rrdtool.inc.php#L163) already adds the necessary options. Collectd.inc.php adds them again which breaks drawing the graphs.
This commit is contained in:
@@ -197,7 +197,6 @@ if (isset($MetaGraphDefs[$type])) {
|
||||
|
||||
if(isset($rrd_cmd))
|
||||
{
|
||||
if ($config['rrdcached']) { $rrd_cmd .= " --daemon ".$config['rrdcached'] . " "; }
|
||||
if ($_GET['from']) { $from = mres($_GET['from']); }
|
||||
if ($_GET['to']) { $to = mres($_GET['to']); }
|
||||
$rrd_cmd .= " -s " . $from . " -e " . $to;
|
||||
|
Reference in New Issue
Block a user