';
// Current setup
echo '
';
echo __('Database setup');
echo ' |
';
echo '';
echo __('Max. time before compact data');
echo ' | ';
echo $config['days_compact'].' '.__('days');
echo ' |
';
echo '';
echo __('Max. time before purge');
echo ' | ';
echo $config['days_purge'].' '.__('days');
echo ' |
';
// DB size stats
echo '';
echo __('Database size stats');
echo ' |
';
echo '';
echo __('Total agents');
echo ' | ';
echo $stat_agente;
echo ' |
';
echo '';
echo __('Total events');
echo ' | ';
echo $stat_event;
echo ' |
';
echo '';
echo __('Total data items (tagente_datos)');
echo ' | ';
if ($stat_data > $max_data)
echo "$stat_data";
else
echo $stat_data;
echo ' |
';
echo '';
echo __('Total log4x items (tagente_datos_log4x)');
echo ' | ';
if ($stat_data > $max_data)
echo "$stat_data_log4x";
else
echo $stat_data_log4x;
echo ' |
';
echo '';
echo __('Total data string items (tagente_datos_string)');
echo ' | ';
echo $stat_data_string;
echo ' |
';
echo '';
echo __('Total modules configured');
echo ' | ';
echo $stat_modules;
echo ' |
';
echo '';
echo __('Total agent access records');
echo ' | ';
if ($stat_access > $max_access)
echo "$stat_access";
else
echo $stat_access;
echo ' |
';
// Sanity
echo '';
echo __('Database sanity');
echo ' |
';
echo '';
echo __('Total uknown agents');
echo ' | ';
echo $stat_uknown;
echo ' |
';
echo '';
echo __('Total non-init modules');
echo ' | ';
echo $stat_noninit;
echo ' |
';
echo '';
echo __('Last time on DB maintance');
echo ' | ';
if (!isset($config['db_maintance'])){
echo "".__("Never")."";
} else {
$seconds = time()-$config['db_maintance'];
if ($seconds > 90000) //(1,1 days)
echo "";
else
echo "";
echo human_time_description($seconds);
echo " *";
}
echo " |
";
echo '';
echo '
';
echo '(*) '.__('Please check your Pandora Server setup and be sure that database maintenance daemon is running. It\'s very important to keep up-to-date database to get the best performance and results in Pandora');
echo '';
echo ' |
';
?>