在 Cacti 管理畫面 Console / System Utilities / Technical Support 畫面中,出現的警告訊息: 
ERROR: Installed RRDTool version does not match configured version. 
Please visit the Configuration Settings and select the correct RRDTool Utility Version. 
檢查系統安裝的 RRD Tool 版本,是 1.5.5-4 
# dpkg -l | grep rrd 
ii  librrd4:amd64                      1.5.5-4                            amd64        time-series data storage and display system (runtime library) 
ii  rrdtool                            1.5.5-4                            amd64        time-series data storage and display system (programs) 
可是在 Console / Settings / General 頁面中,RRDTool Utility Version 只有 1.0~1.4 版可以選擇 
   
  
[@more@]解決方式: 
參考 Cacti + RRDtool 錯誤訊息 @mini box 迷你盒子 – nidBox親子盒子 
# cp /usr/share/cacti/site/utilities.php /usr/share/cacti/site/utilities.php.$(date +%F) 
# vim /usr/share/cacti/site/utilities.php 
把
if (preg_match(“/^RRDtool 1.4/”, $out_array[0])) { 
    $rrdtool_version = “rrd-1.4.x”; 
}else if (preg_match(“/^RRDtool 1.3./”, $out_array[0])) { 
    $rrdtool_version = “rrd-1.3.x”; 
}else if (preg_match(“/^RRDtool 1.2./”, $out_array[0])) { 
    $rrdtool_version = “rrd-1.2.x”; 
}else if (preg_match(“/^RRDtool 1.0./”, $out_array[0])) { 
    $rrdtool_version = “rrd-1.0.x”; 
}
修改成
 if (preg_match(“/^RRDtool 1.6/”, $out_array[0])) { 
     $rrdtool_version = “rrd-1.6.x”; 
  } elseif (preg_match(“/^RRDtool 1.5/”, $out_array[0])) { 
       $rrdtool_version = “rrd-1.5.x”; 
  } elseif (preg_match(“/^RRDtool 1.4/”, $out_array[0])) { 
       $rrdtool_version = “rrd-1.4.x”; 
  }else if (preg_match(“/^RRDtool 1.3./”, $out_array[0])) { 
       $rrdtool_version = “rrd-1.3.x”; 
  }else if (preg_match(“/^RRDtool 1.2./”, $out_array[0])) { 
      $rrdtool_version = “rrd-1.2.x”; 
  }else if (preg_match(“/^RRDtool 1.0./”, $out_array[0])) { 
      $rrdtool_version = “rrd-1.0.x”; 
  }
 
# cp /usr/share/cacti/site/include/global_arrays.php /usr/share/cacti/site/include/global_arrays.php.$(date +%F)
# vim /usr/share/cacti/site/include/global_arrays.php
把
$rrdtool_versions = array(
        “rrd-1.0.x” => “RRDTool 1.0.x”,
        “rrd-1.2.x” => “RRDTool 1.2.x”,
        “rrd-1.3.x” => “RRDTool 1.3.x”,
        “rrd-1.4.x” => “RRDTool 1.4.x”);
修改成
$rrdtool_versions = array(
        “rrd-1.0.x” => “RRDTool 1.0.x”,
        “rrd-1.2.x” => “RRDTool 1.2.x”,
        “rrd-1.3.x” => “RRDTool 1.3.x”,
        “rrd-1.4.x” => “RRDTool 1.4.x”,
        “rrd-1.5.x” => “RRDTool 1.5.x”,
        “rrd-1.6.x” => “RRDTool 1.6.x”);

