diff --git a/pandora_console/images/image_problem_area_small.png b/pandora_console/images/image_problem_area_small.png new file mode 100644 index 0000000000..8b87788752 Binary files /dev/null and b/pandora_console/images/image_problem_area_small.png differ diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index c97867733b..5e4685d12a 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -949,7 +949,7 @@ function grafico_modulo_sparse ($agent_module_id, $period, $show_events, return area_graph($flash_chart, $chart, $width, $height/2, $color, $legend, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, $unit, $homeurl, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $series_type, $chart_extra_data, $warning_min, $critical_min, @@ -958,7 +958,7 @@ function grafico_modulo_sparse ($agent_module_id, $period, $show_events, '
'. area_graph($flash_chart, $chart_prev, $width, $height/2, $color_prev, $legend_prev, $long_index_prev, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, $unit, $homeurl, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $series_type_prev, $chart_extra_data, $warning_min, $critical_min, @@ -977,7 +977,7 @@ function grafico_modulo_sparse ($agent_module_id, $period, $show_events, return area_graph($flash_chart, $chart, $width, $height, $color, $legend, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, $unit, $homeurl, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $series_type, $chart_extra_data, $warning_min, $critical_min, @@ -990,13 +990,13 @@ function grafico_modulo_sparse ($agent_module_id, $period, $show_events, return line_graph($flash_chart, $chart, $width, $height/2, $color, $legend, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, $unit, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $homeurl, $backgroundColor). '
'. line_graph($flash_chart, $chart_prev, $width, $height/2, $color, $legend, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, $unit, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $homeurl, $backgroundColor); } @@ -1005,7 +1005,7 @@ function grafico_modulo_sparse ($agent_module_id, $period, $show_events, return line_graph($flash_chart, $chart, $width, $height, $color, $legend, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, $unit, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $homeurl, $backgroundColor); } @@ -2059,7 +2059,7 @@ function graphic_combined_module ($module_list, $weight_list, $period, case CUSTOM_GRAPH_AREA: return area_graph($flash_charts, $graph_values, $width, $height, $color, $module_name_list, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, "", $homeurl, $water_mark, $config['fontpath'], $fixed_font_size, $unit, $ttl, array(), array(), $yellow_threshold, $red_threshold, '', false, '', true, $background_color,$dashboard, $vconsole, 0, $percentil_result, $threshold_data); @@ -2068,14 +2068,14 @@ function graphic_combined_module ($module_list, $weight_list, $period, case CUSTOM_GRAPH_STACKED_AREA: return stacked_area_graph($flash_charts, $graph_values, $width, $height, $color, $module_name_list, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, "", $water_mark, $config['fontpath'], $fixed_font_size, "", $ttl, $homeurl, $background_color,$dashboard, $vconsole); break; case CUSTOM_GRAPH_LINE: return line_graph($flash_charts, $graph_values, $width, $height, $color, $module_name_list, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, "", $water_mark, $config['fontpath'], $fixed_font_size, $unit, $ttl, $homeurl, $background_color, $dashboard, $vconsole, $series_type, $percentil_result, $yellow_threshold, $red_threshold, $threshold_data); @@ -2083,7 +2083,7 @@ function graphic_combined_module ($module_list, $weight_list, $period, case CUSTOM_GRAPH_STACKED_LINE: return stacked_line_graph($flash_charts, $graph_values, $width, $height, $color, $module_name_list, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", "", $water_mark, $config['fontpath'], $fixed_font_size, "", $ttl, $homeurl, $background_color, $dashboard, $vconsole); break; @@ -2091,28 +2091,28 @@ function graphic_combined_module ($module_list, $weight_list, $period, case CUSTOM_GRAPH_BULLET_CHART: return stacked_bullet_chart($flash_charts, $graph_values, $width, $height, $color, $module_name_list, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", "", $water_mark, $config['fontpath'], ($config['font_size']+1), "", $ttl, $homeurl, $background_color); break; case CUSTOM_GRAPH_GAUGE: return stacked_gauge($flash_charts, $graph_values, $width, $height, $color, $module_name_list, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", "", $water_mark, $config['fontpath'], $fixed_font_size, "", $ttl, $homeurl, $background_color); break; case CUSTOM_GRAPH_HBARS: return hbar_graph($flash_charts, $graph_values, $width, $height, $color, $module_name_list, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", "", $water_mark, $config['fontpath'], $fixed_font_size, "", $ttl, $homeurl, $background_color); break; case CUSTOM_GRAPH_VBARS: return vbar_graph($flash_charts, $graph_values, $width, $height, $color, $module_name_list, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", "", $water_mark, $config['fontpath'], $fixed_font_size, "", $ttl, $homeurl, $background_color, true); break; @@ -2235,7 +2235,7 @@ function graphic_agentaccess ($id_agent, $width, $height, $period = 0, $return = } else { $out = area_graph($config['flash_charts'], $data, $width, $height, null, null, null, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", "", ui_get_full_url(false, false, false, false), $water_mark, $config['fontpath'], $config['font_size'], "", 1, array(), array(), 0, 0, '', false, '', false); } @@ -2704,7 +2704,7 @@ function grafico_db_agentes_purge ($id_agent, $width = 380, $height = 300) { || (empty($num_1day) && empty($num_1week) && empty($num_1month) && empty($num_3months) && empty($num_all) && ($config['history_db_enabled'] == 1 && empty($num_all_w_history)))) { - return html_print_image('images/image_problem.png', true); + return html_print_image('images/image_problem_area_small.png', true); } // Data indexes @@ -4521,20 +4521,20 @@ function grafico_modulo_boolean ($agent_module_id, $period, $show_events, if ($type_graph === 'area') { if ($compare === 'separated') { return area_graph($flash_chart, $chart, $width, $height/2, $color, $legend, - $long_index, ui_get_full_url("images/image_problem.opaque.png", false, false, false), + $long_index, ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", $unit, $homeurl, $water_mark, $config['fontpath'], $config['font_size'], $unit, 1, $series_type, $chart_extra_data, 0, 0, $adapt_key, false, $series_suffix_str, $menu). '
'. area_graph($flash_chart, $chart_prev, $width, $height/2, $color_prev, $legend_prev, - $long_index_prev, ui_get_full_url("images/image_problem.opaque.png", false, false, false), + $long_index_prev, ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", $unit, $homeurl, $water_mark, $config['fontpath'], $config['font_size'], $unit, 1, $series_type_prev, $chart_extra_data_prev, 0, 0, $adapt_key, false, $series_suffix_str, $menu); } else { return area_graph($flash_chart, $chart, $width, $height, $color, $legend, - $long_index, ui_get_full_url("images/image_problem.opaque.png", false, false, false), + $long_index, ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, $unit, $homeurl, $water_mark, $config['fontpath'], $config['font_size'], $unit, 1, $series_type, $chart_extra_data, 0, 0, $adapt_key, false, $series_suffix_str, $menu); @@ -4545,13 +4545,13 @@ function grafico_modulo_boolean ($agent_module_id, $period, $show_events, return line_graph($flash_chart, $chart, $width, $height/2, $color, $legend, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", $unit, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $homeurl, $backgroundColor). '
'. line_graph($flash_chart, $chart_prev, $width, $height/2, $color, $legend, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", $unit, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $homeurl, $backgroundColor); } @@ -4560,7 +4560,7 @@ function grafico_modulo_boolean ($agent_module_id, $period, $show_events, return line_graph($flash_chart, $chart, $width, $height, $color, $legend, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, $unit, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $homeurl, $backgroundColor); } @@ -4691,7 +4691,7 @@ function graph_netflow_aggregate_area ($data, $period, $width, $height, $unit = return area_graph($flash_chart, $chart, $width, $height, $color, - $sources, array (), ui_get_full_url("images/image_problem.opaque.png", false, false, false), + $sources, array (), ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", $unit, $homeurl, $config['homedir'] . "/images/logo_vertical_water.png", $config['fontpath'], $config['font_size'], $unit, $ttl); @@ -4776,7 +4776,7 @@ function graph_netflow_total_area ($data, $period, $width, $height, $unit = '', $legend = array (__('Max.') . ' ' . format_numeric($max) . ' ' . __('Min.') . ' ' . format_numeric($min) . ' ' . __('Avg.') . ' ' . format_numeric ($avg)); return area_graph($flash_chart, $chart, $width, $height, array (), $legend, - array (), ui_get_full_url("images/image_problem.opaque.png", false, false, false), + array (), ui_get_full_url("images/image_problem_area_small.png", false, false, false), "", "", $homeurl, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl); } @@ -5152,7 +5152,7 @@ function grafico_modulo_string ($agent_module_id, $period, $show_events, return line_graph($flash_chart, $chart, $width, $height, $color, $legend, $long_index, - ui_get_full_url("images/image_problem.opaque.png", false, false, false), + ui_get_full_url("images/image_problem_area_small.png", false, false, false), $title, $unit, $water_mark, $config['fontpath'], $config['font_size'], $unit, $ttl, $homeurl, $backgroundColor); } @@ -5663,7 +5663,7 @@ function grafico_modulo_log4x_format_y_axis ( $number , $decimals=2, $dec_point= } function graph_nodata_image($width = 300, $height = 110, $type = 'area', $text = '') { - $image = ui_get_full_url('images/image_problem_' . $type . '.png', + $image = ui_get_full_url('images/image_problem_area_small.png', false, false, false); // if ($text == '') { diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 459be56db7..72ab847d48 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -2166,7 +2166,7 @@ function reporting_exception($report, $content, $type = 'dinamic', 'color' => array(), 'legend' => array(), 'long_index' => array(), - 'no_data_image' => ui_get_full_url("images/image_problem.opaque.png", false, false, false), + 'no_data_image' => ui_get_full_url("images/image_problem_area_small.png", false, false, false), 'xaxisname' => "", 'yaxisname' => "", 'water_mark' => ui_get_full_url(false, false, false, false) . "/images/logo_vertical_water.png", diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index 8d56a42918..cb29812686 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -2811,13 +2811,13 @@ function reporting_get_stats_summary($data, $graph_width, $graph_height) { $tdata[0] = '
' . graph_agent_status (false, $graph_width, $graph_height, true, true) . '
'; } else { - $tdata[2] = html_print_image('images/image_problem.png', true, array('width' => $graph_width)); + $tdata[2] = html_print_image('images/image_problem_area_small.png', true, array('width' => $graph_width)); } if ($data["monitor_alerts"] > 0) { $tdata[2] = '
' . graph_alert_status ($data["monitor_alerts"], $data["monitor_alerts_fired"], $graph_width, $graph_height, true, true) . '
'; } else { - $tdata[2] = html_print_image('images/image_problem.png', true, array('width' => $graph_width)); + $tdata[2] = html_print_image('images/image_problem_area_small.png', true, array('width' => $graph_width)); } $table_sum->rowclass[] = ''; $table_sum->data[] = $tdata;