(PECL rrd >= 0.9.0)
用於將資料從 RRD 資料庫匯出到影像檔的類別。
$path
$options
在 Windows 上,如果您收到「無法解析 'DEF:rr=C:/Users/xxx/code/monitor/speed_gauge.rrd:value:MAX' 中的 DS」錯誤。這可能表示 rrdtool 不喜歡檔案名稱中的「:」 - 需要將其替換為「\:」至少對我來說,如果我替換冒號「str_replace(':', '\\:', $rrdPath);」就解決了這個問題