#11051 Fix discovery task notification
This commit is contained in:
parent
4191a7037f
commit
e41ea004e2
|
@ -1059,7 +1059,7 @@ function notification_filter()
|
|||
$type_name = 'ALLOW OVERRIDE';
|
||||
break;
|
||||
|
||||
case '':
|
||||
case 'DISCOVERYTASK':
|
||||
$type_name = 'DISCOVERY TASK';
|
||||
break;
|
||||
|
||||
|
|
|
@ -2058,6 +2058,8 @@ sub PandoraFMS::Recon::Base::report_scanned_agents($;$) {
|
|||
'index.php?sec=gservers&sec2=godmode/servers/discovery&wiz=tasklist#'
|
||||
);
|
||||
|
||||
$notification->{'subtype'} .= safe_input('NOTIF.DISCOVERYTASK.REVIEW');
|
||||
|
||||
$notification->{'mensaje'} = safe_input(
|
||||
'Discovery task (host&devices) \''.safe_output($self->{'task_data'}{'name'})
|
||||
.'\' has been completed. Please review the results.'
|
||||
|
|
Loading…
Reference in New Issue