mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
hack to make *all* graphs draw, even if missing rrd
git-svn-id: http://www.observium.org/svn/observer/trunk@1629 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -113,6 +113,7 @@ if(!$auth)
|
||||
if($rrd_options)
|
||||
{
|
||||
if($config['rrdcached']) { $rrd_switches = " --daemon ".$config['rrdcached'] . " "; }
|
||||
$rrd_options .= " HRULE:0#999999";
|
||||
$rrd_cmd = $config['rrdtool'] . " graph $graphfile $rrd_options" . $rrd_switches;
|
||||
$woo = shell_exec($rrd_cmd);
|
||||
if($_GET['debug']) { echo("<pre>".$rrd_cmd."</pre>"); }
|
||||
|
||||
Reference in New Issue
Block a user