mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 00:11:49 +02:00
Merge pull request #1342 from clinta/patch-2
Adding --daemon twice breaks collectd graphs
This commit is contained in:
@@ -197,7 +197,6 @@ if (isset($MetaGraphDefs[$type])) {
|
|||||||
|
|
||||||
if(isset($rrd_cmd))
|
if(isset($rrd_cmd))
|
||||||
{
|
{
|
||||||
if ($config['rrdcached']) { $rrd_cmd .= " --daemon ".$config['rrdcached'] . " "; }
|
|
||||||
if ($_GET['from']) { $from = mres($_GET['from']); }
|
if ($_GET['from']) { $from = mres($_GET['from']); }
|
||||||
if ($_GET['to']) { $to = mres($_GET['to']); }
|
if ($_GET['to']) { $to = mres($_GET['to']); }
|
||||||
$rrd_cmd .= " -s " . $from . " -e " . $to;
|
$rrd_cmd .= " -s " . $from . " -e " . $to;
|
||||||
|
|||||||
Reference in New Issue
Block a user