wip reports alert actions

This commit is contained in:
Daniel Barbero Martin 2021-12-02 17:17:21 +01:00
parent 5a3e5aaac4
commit eb8b89f22e
1 changed files with 1 additions and 0 deletions

View File

@ -3245,6 +3245,7 @@ function alerts_get_alert_fired($filters=[], $groupsBy=[])
) {
foreach ($names_search as $server => $names) {
foreach ($names as $id => $name) {
$name = $names_server[$server].' » '.$name;
if (isset($array_data[$server][$id]) === true) {
$result[$period][$server.'|'.$id] = $array_data[$server][$id];
$result[$period][$server.'|'.$id][$groupsBy['group_by']] = $name;