2014-05-22 Sergio Martin <sergio.martin@artica.es>

* include/functions_graph.php: Fix end of unknown
	periods in graphs when activate events storm protection
	or other prevent events triggering



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2014-05-22 16:16:02 +00:00
parent 19fe12f4d7
commit fe654895af
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2014-05-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fix end of unknown
periods in graphs when activate events storm protection
or other prevent events triggering
2014-05-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/groups/group_list.php: Dont show void agents

View File

@ -290,6 +290,8 @@ function grafico_modulo_sparse_data_chart (&$chart, &$chart_data_extra, &$long_i
// Data in the interval
if ($count > 0) {
$total /= $count;
// If detect data, unknown period finishes
$is_unknown = false;
}
// Read events and alerts that fall in the current interval