Fixed the history data in boolean and string charts.
(cherry picked from commit f24919fe4b
)
This commit is contained in:
parent
036538baa9
commit
3dbd433285
|
@ -2897,6 +2897,7 @@ function grafico_modulo_boolean_data ($agent_module_id, $period, $show_events,
|
|||
if ($uncompressed_module) {
|
||||
$avg_only = 1;
|
||||
}
|
||||
$search_in_history_db = db_search_in_history_db($datelimit);
|
||||
|
||||
// Get event data (contains alert data too)
|
||||
if ($show_unknown == 1 || $show_events == 1 || $show_alerts == 1) {
|
||||
|
@ -3609,6 +3610,7 @@ function grafico_modulo_string ($agent_module_id, $period, $show_events,
|
|||
if ($uncompressed_module) {
|
||||
$avg_only = 1;
|
||||
}
|
||||
$search_in_history_db = db_search_in_history_db($datelimit);
|
||||
|
||||
// Get event data (contains alert data too)
|
||||
if ($show_events == 1 || $show_alerts == 1) {
|
||||
|
|
Loading…
Reference in New Issue