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:
Adam Amstrong
2010-08-02 22:38:46 +00:00
parent e2fa3e1fa9
commit 0d6810c85a
4 changed files with 23 additions and 21 deletions
+1
View File
@@ -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>"); }