diff --git a/utilities.php b/utilities.php
index eda7dce25..d1c36809c 100644
--- a/utilities.php
+++ b/utilities.php
@@ -313,12 +313,12 @@ function utilities_view_tech() {
form_alternate_row();
print '
' . __('Devices') . ' | ';
- print '' . number_format_i18n($host_count, -1) . ' | ';
+ print '' . number_format_i18n($host_count) . ' | ';
form_end_row();
form_alternate_row();
print '' . __('Graphs') . ' | ';
- print '' . number_format_i18n($graph_count, -1) . ' | ';
+ print '' . number_format_i18n($graph_count) . ' | ';
form_end_row();
form_alternate_row();
@@ -327,10 +327,10 @@ function utilities_view_tech() {
$data_total = 0;
if (cacti_sizeof($data_count)) {
foreach ($data_count as $item) {
- print $input_types[$item['type_id']] . ': ' . number_format_i18n($item['total'], -1) . '
';
+ print $input_types[$item['type_id']] . ': ' . number_format_i18n($item['total']) . '
';
$data_total += $item['total'];
}
- print __('Total: %s', number_format_i18n($data_total, -1));
+ print __('Total: %s', number_format_i18n($data_total));
} else {
print "0";
}
@@ -363,10 +363,10 @@ function utilities_view_tech() {
$total = 0;
if (cacti_sizeof($poller_item)) {
foreach ($poller_item as $item) {
- print __('Action[%s]', $item['action']) . ': ' . number_format_i18n($item['total'], -1) . '
';
+ print __('Action[%s]', $item['action']) . ': ' . number_format_i18n($item['total']) . '
';
$total += $item['total'];
}
- print __('Total: %s', number_format_i18n($total, -1));
+ print __('Total: %s', number_format_i18n($total));
} else {
print "" . __('No items to poll') . "";
}
@@ -802,7 +802,7 @@ function utilities_view_tech() {
foreach($status as $s) {
form_alternate_row();
print '' . $s['Variable_name'] . ' | ';
- print '' . (is_numeric($s['Value']) ? number_format_i18n($s['Value'], -1):$s['Value']) . ' | ';
+ print '' . (is_numeric($s['Value']) ? number_format_i18n($s['Value']):$s['Value']) . ' | ';
form_end_row();
}
} elseif (get_request_var('tab') == 'dbsettings') {
@@ -823,7 +823,7 @@ function utilities_view_tech() {
if (strlen($s['Value']) > 70) {
$s['Value'] = str_replace(',', ', ', $s['Value']);
}
- print '' . (is_numeric($s['Value']) ? number_format_i18n($s['Value'], -1):$s['Value']) . ' | ';
+ print '' . (is_numeric($s['Value']) ? number_format_i18n($s['Value']):$s['Value']) . ' | ';
form_end_row();
}
} elseif (get_request_var('tab') == 'changelog') {
@@ -876,10 +876,10 @@ function utilities_view_tech() {
form_alternate_row();
print '' . $table['TABLE_NAME'] . ' | ';
print '' . $table['ENGINE'] . ' | ';
- print '' . number_format_i18n($table['TABLE_ROWS'], -1) . ' | ';
- print '' . number_format_i18n($table['AVG_ROW_LENGTH'], -1) . ' | ';
- print '' . number_format_i18n($table['DATA_LENGTH'], -1) . ' | ';
- print '' . number_format_i18n($table['INDEX_LENGTH'], -1) . ' | ';
+ print '' . number_format_i18n($table['TABLE_ROWS']) . ' | ';
+ print '' . number_format_i18n($table['AVG_ROW_LENGTH']) . ' | ';
+ print '' . number_format_i18n($table['DATA_LENGTH']) . ' | ';
+ print '' . number_format_i18n($table['INDEX_LENGTH']) . ' | ';
print '' . $table['TABLE_COLLATION'] . ' | ';
print '' . $table['ROW_FORMAT'] . ' | ';
print '' . $table['TABLE_COMMENT'] . ' | ';
@@ -2620,28 +2620,28 @@ function applyFilter() {
}
form_alternate_row();
- print '' . __('Total Poller Items:') . ' | ' . number_format_i18n($poller_items, -1) . ' | ';
+ print '' . __('Total Poller Items:') . ' | ' . number_format_i18n($poller_items) . ' | ';
$premaining = ($data_sources ? (round(($pending_ds / $data_sources) * 100, 1)) : 0);
if ($total_records) {
form_alternate_row();
- print '' . __('Total Data Sources:') . ' | ' . number_format_i18n($data_sources, -1) . ' | ';
+ print '' . __('Total Data Sources:') . ' | ' . number_format_i18n($data_sources) . ' | ';
if ($config['connection'] == 'online') {
form_alternate_row();
- print '' . __('Remaining Data Sources:') . ' | ' . ($pending_ds > 0 ? number_format_i18n($pending_ds, -1) . " ($premaining %)":__('TBD')) . ' | ';
+ print '' . __('Remaining Data Sources:') . ' | ' . ($pending_ds > 0 ? number_format_i18n($pending_ds) . " ($premaining %)":__('TBD')) . ' | ';
}
form_alternate_row();
- print '' . __('Queued Boost Records:') . ' | ' . number_format_i18n($pending_records, -1) . ' | ';
+ print '' . __('Queued Boost Records:') . ' | ' . number_format_i18n($pending_records) . ' | ';
if ($config['connection'] == 'online') {
form_alternate_row();
- print '' . __('Approximate in Process:') . ' | ' . number_format_i18n($remaining, -1) . ' | ';
+ print '' . __('Approximate in Process:') . ' | ' . number_format_i18n($remaining) . ' | ';
form_alternate_row();
- print '' . __('Total Boost Records:') . ' | ' . number_format_i18n($total_records, -1) . ' | ';
+ print '' . __('Total Boost Records:') . ' | ' . number_format_i18n($total_records) . ' | ';
}
}
@@ -2726,7 +2726,7 @@ function applyFilter() {
print '';
form_alternate_row();
- print '' . __('RRD Updates:') . ' | ' . ($boost_rrds_updated != '' ? number_format_i18n($boost_rrds_updated, -1):'-') . ' | ';
+ print '' . __('RRD Updates:') . ' | ' . ($boost_rrds_updated != '' ? number_format_i18n($boost_rrds_updated):'-') . ' | ';
form_alternate_row();
print '' . __('Peak Poller Memory:') . ' | ' . ((read_config_option('boost_peak_memory') != '' && is_numeric(read_config_option('boost_peak_memory'))) ? (round(read_config_option('boost_peak_memory')/1024/1024,2)) . ' ' . __('MBytes') : __('N/A')) . ' | ';
@@ -2829,7 +2829,7 @@ function applyFilter() {
print '' . __('Next Start Time:') . ' | ' . (is_numeric($next_run_time) ? date('Y-m-d H:i:s', $next_run_time):$next_run_time) . ' | ';
form_alternate_row();
- print '' . __('Maximum Records:') . ' | ' . number_format_i18n($max_records, -1) . ' ' . __('Records') . ' | ';
+ print '' . __('Maximum Records:') . ' | ' . number_format_i18n($max_records) . ' ' . __('Records') . ' | ';
form_alternate_row();
print '' . __('Maximum Allowed Runtime:') . ' | ' . $boost_max_runtime[$max_runtime] . ' | ';