diff --git a/src/html/metrics.php b/src/html/metrics.php index 1fc917c..9c37c1e 100644 --- a/src/html/metrics.php +++ b/src/html/metrics.php @@ -28,7 +28,7 @@ $tmp = explode(".",$key); $cpu_id = $tmp[count($tmp)-1]; - sendGraphite("cpu_util.cpu_{$cpu_id}", sanatize_snmp("INTEGER", $value)); + sendGraphite("cpu_util{cpu=\"{$cpu_id}\"}", sanatize_snmp("INTEGER", $value)); } /**