Merge branch '1632-Pandora_FMS_charts_3' into 'develop'
fixed errors in graphs webproc and keep alive See merge request artica/pandorafms!1198
This commit is contained in:
commit
7033746c49
|
@ -1461,6 +1461,8 @@ function return_graphtype ($id_module_type) {
|
|||
case 21:
|
||||
case 18:
|
||||
case 9:
|
||||
case 31:
|
||||
case 100:
|
||||
return "boolean";
|
||||
break;
|
||||
case 24:
|
||||
|
|
|
@ -4610,6 +4610,10 @@ function fullscale_data ( &$chart_data, &$chart_extra_data, &$long_index,
|
|||
$chart_data[$event_date]["alert" . $series_suffix] = 1;
|
||||
$chart_extra_data[count($chart_data)-1]['alerts'] = implode (',', $alert_ids[$event_date]);
|
||||
}
|
||||
else{
|
||||
$chart_data[$event_date]["event" . $series_suffix] = NULL;
|
||||
$chart_data[$event_date]["alert" . $series_suffix] = NULL;
|
||||
}
|
||||
|
||||
$chart_data[$event_date]["sum" . $series_suffix] = $previous_data;
|
||||
if($show_unknown) {
|
||||
|
|
Loading…
Reference in New Issue