";
echo "
";
echo "";
echo "" . __('Event graph') . "";
echo " | ";
echo "";
echo "" . __('Event graph by user') . "";
echo " | ";
echo "
";
echo "";
echo "";
echo grafico_eventos_total();
echo " | ";
echo "";
echo grafico_eventos_usuario(320, 296);
echo " | ";
echo "
";
echo "";
echo "";
echo "" . __('Event graph by agent') . "";
echo " | ";
echo "";
echo "" . __('Amount events validated') . "";
echo " | ";
echo "
";
$where = '';
if (!users_is_admin()) {
$where = 'AND event_type NOT IN (\'recon_host_detected\', \'system\',\'error\', \'new_agent\', \'configuration_change\')';
}
echo "";
echo "";
echo grafico_eventos_grupo(300, 200, $where);
echo " | ";
echo "";
$extra_filter = array();
if (!users_is_admin()) {
$extra_filter['event_type'] = array('unknown','alert_fired','alert_recovered',
'alert_ceased','alert_manual_validation', 'critical',
'warning','normal');
}
echo graph_events_validated(320, 296, $extra_filter);
echo " | ";
echo "
";
echo "";
?>