Commit e255ce72 authored by kbahey's avatar kbahey

Do not use thousand separator

parent e8ac637f
...@@ -564,10 +564,10 @@ function performance_nagios() { ...@@ -564,10 +564,10 @@ function performance_nagios() {
// Protect against divide by zero // Protect against divide by zero
if ($total_rows > 0) { if ($total_rows > 0) {
$mb_avg = number_format($total_bytes/$total_rows/1024/1024, 1); $ms_avg = number_format($total_millisecs / $total_rows, 1, '.', '');
$ms_avg = number_format($total_millisecs/$total_rows, 2); $ms_query = number_format($total_query_time / $total_rows, 1, '.', '');
$ms_query = number_format($total_query_time/$total_rows, 2); $query_count = number_format($total_query_count / $total_rows, 2, '.', '');
$query_count = number_format($total_query_count/$total_rows, 2); $mb_avg = number_format($total_bytes / $total_rows/1024/1024, 1);
} }
else { else {
$mb_avg = '-'; $mb_avg = '-';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment