mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
fixed errors in graphs webproc and keep alive
This commit is contained in:
parent
32b81ae7aa
commit
a335732267
@ -1461,6 +1461,8 @@ function return_graphtype ($id_module_type) {
|
|||||||
case 21:
|
case 21:
|
||||||
case 18:
|
case 18:
|
||||||
case 9:
|
case 9:
|
||||||
|
case 31:
|
||||||
|
case 100:
|
||||||
return "boolean";
|
return "boolean";
|
||||||
break;
|
break;
|
||||||
case 24:
|
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_data[$event_date]["alert" . $series_suffix] = 1;
|
||||||
$chart_extra_data[count($chart_data)-1]['alerts'] = implode (',', $alert_ids[$event_date]);
|
$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;
|
$chart_data[$event_date]["sum" . $series_suffix] = $previous_data;
|
||||||
if($show_unknown) {
|
if($show_unknown) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user