and in the application log (C:\Program Files (x86)\ManageEngine\DataSecurity Plus\logs\ReportLog_2020-02-05.txt) i've this
[13:26:05:178]|[02-05-2020]|[ReportLogger]|[INFO]|[126]: Executing command C:\scripts\triggerShutdown.cmd %user_name% %server_name% |
[13:26:05:178]|[02-05-2020]|[ReportLogger]|[INFO]|[126]: Sending alert mail to XXX
[13:26:05:178]|[02-05-2020]|[ReportLogger]|[INFO]|[126]: Executing command C:\scripts\triggerShutdown.cmd %user_name% %server_name% |
[13:26:05:178]|[02-05-2020]|[ReportLogger]|[INFO]|[126]: Sending alert mail to XXX
[13:26:05:178]|[02-05-2020]|[ReportLogger]|[INFO]|[126]: Executing command C:\scripts\triggerShutdown.cmd %user_name% %server_name% |
[13:26:05:194]|[02-05-2020]|[ReportLogger]|[INFO]|[126]: Sending alert mail to XXX
[13:26:05:194]|[02-05-2020]|[ReportLogger]|[INFO]|[126]: Executing command C:\scripts\triggerShutdown.cmd %user_name% %server_name% |
so it seem that the product do not pass the parameters as i expext from what i've read from online help
Executables and Batch Scripts -
Format: filename [parameter1] [parameter 2] [parameter n]
Example 1: C:\users\test.bat
Example 2: C:\users\demo.bat %user_name% %server_name%
Example 3: C:\users\example.exe
List of all parameters which can be used:
%user_name% will be replaced with the name of the user who generated the alert.
%server_name% will be replaced with the name of the server where the alert was generated.
%user_sid% will be replaced with the SID of the user who generated the alert.
%local_path% will be replaced with the location of the file for which the event was generated.
%process_name% will be replaced with the name of the process that generated the event.
%old_share_path% will be replaced with the old location of the file for which the event was generated.
%new_share_path% will be replaced with the new location of the file for which the event was generated.
%client_ip% will be replaced with the ip of the client host.
%client_host% will be replaced with the name of the client host.
at this point i'm really stumped...