Commit 72d8c830 authored by kbahey's avatar kbahey

Use nulls instead of dashes, so the database does not reject non-numeric fields

parent 7728121d
......@@ -584,10 +584,10 @@ function performance_nagios() {
$mb_avg = number_format($total_bytes / $total_rows/1024/1024, 1);
}
else {
$mb_avg = '-';
$ms_avg = '-';
$ms_query = '-';
$query_count = '-';
$mb_avg = '';
$ms_avg = '';
$ms_query = '';
$query_count = '';
}
$status = NAGIOS_STATUS_OK;
......
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