38
5.2.6.2. Sending notifications to the
administrator
Using standard Unix tool, you can configure notifications to be sent to the
administrator upon detection of infected, suspicious or corrupted objects in the
computer's file systems.
Task: configure administrator notification in case of detection of in-
fected files and archives in the file systems during each computer scan
performed using the settings specified in the kav4fs.conf configuration
file. Enable the mode of opening symlinks.
Solution: in order to perform this task, do the following:
Specify the following rules for processing simple objects and container
objects in configuration file kav4fs.conf:
[scanner.options]
FollowSymlinks=yes
[scanner.object]
OnInfected=exec echo %FULLPATH%/%FILENAME% is
infected by %VIRUSNAME% |
mail -s kav4fs-kavscanner admin@localhost.ru
[scanner.container]
OnInfected=exec echo archive %FULLPATH%/%FILENAME% is
infected, viruses list is in the attached file %LIST%
| mail -s kav4fs-kavscanner -a %LIST%
admin@localhost.ru
Before launching the example the user must make sure that the mail
utility is located at the location pointed at by this utility's standard
installation path in the operating system.
5.3. Real-time anti-virus protection
Real-time anti-virus protection of the computer's file system is performed using
the kavmonitor component.
All settings of the kavmonitor component are contained in the [moni-
tor.*] section of the application's configuration file.
Kaspersky Anti-Virus ® 5.5 for Linux and FreeBSD Workstation and File Server
Need help?
Do you have a question about the ANTI-VIRUS 5.5 - FOR LINUX-FREEBSD WORKSTATION AND FILE SERVER and is the answer not in the manual?