Command for external program execution after an action (remove, quarantine, cure, report) is applied to a file. After the command is executed, information on the event is logged.
A thread executing this command waits for it to terminate, and if the return code is not zero, the corresponding message is logged.
You can use the following macros in this command:
•$HOSTMASTER$ - Hostmaster parameter value •$REASON$ - name of the event that cause the command execution •$ACTION$ - name of the applied action •$VERSION$ - current product version •$FILE$ - full path to the file which caused the event •$SIZE$ - size (in bytes) of the file which caused the event •$TIME$ - local server time when the command was executed •$DAEMON_REPORT$ - Dr.Web Daemon report received after the file was processed. The report can be empty. Lines in report are delimited with a line feed character •$VIRUSES$ - list of viruses detected during scanning. The list can be empty. Items in the list are separated by commas. Example: (must be specified on a single line):
"kdialog --passivepopup \"<html><font color=\"red\" size=\"5\">Attention, $REASON$ event is occured!</font><br>File <font color=\"blue\">$FILE$ (size=$SIZE$)</font><br> action=$ACTION$<br></html>\" 10"
In this exapmle, the KDE environment, upon every event (for example, scan errors, malware detection) a pop-up notification appears.
Default value:
ExternalProgram =
|