Tagged: Dr. Web Toggle Comment Threads | Keyboard Shortcuts

  • Jay Versluis 9:24 am on May 24, 2018 Permalink | Reply
    Tags: Dr. Web   

    Categories: Linux ( 101 ), Plesk ( 76 )   

    How to switch off emails from Anacron in Plesk Onyx 

    In 2011 I wrote an article about how to avoid emails from Dr. Web. In it I was discussing how to switch off these notifications, which are generated when the Dr. Web service updates itself.

    Here’s an example:

    /etc/cron.daily/drweb-update:
    
    Dr.Web update details:
    Update server: http://update.msk5.drweb.com/plesk/700/unix
    Update has begun at Fri May 18 03:53:47 2018
    Update has finished at Fri May 18 03:53:54 2018
    
    Following files have been updated:
     /var/drweb/bases/drwdaily.vdb
     /var/drweb/bases/drwtoday.vdb
     /var/drweb/bases/dwmtoday.vdb
     /var/drweb/bases/dwntoday.vdb
     /var/drweb/bases/dwrtoday.vdb
     /var/drweb/bases/timestamp
     /var/drweb/updates/timestamp

    Sadly, as of 2018, there is still no way to switch these emails off via a tick box from inside Plesk. It was relatively simple though to redirect the output to /dev/null in Linux, thereby avoiding yet another email in our already overflowing inbox.

    In the latest version of Plesk, the earlier approach is no longer working.

    Instead, we can tweak the Dr. Web configuration file at /etc/drweb/drweb32.ini. In the Updater section, find the following block of code:

    # CronSummary = {Boolean}
    # Enables output of update session log to stdout.
    CronSummary = yes

    Now change the CronSummary value to no and restart the Dr. Web service. On CentOS it’s called drwebd:

    systemctl restart drwebd

    This will ask Dr. Web to not send us an email when he updates himself. The great thing about this solution is that we can still get command line output if we want to run the service manually.

    However, if the service is updated in the future, those emails may re-appear because it’s likely that our configuration file may be overwritten. Only time will tell I guess!





     
  • Jay Versluis 3:04 pm on December 24, 2011 Permalink | Reply
    Tags: Dr. Web   

    Categories: Linux ( 101 ), Plesk ( 76 )   

    How to avoid emails from Dr. Web 

    Dr. Web is a Russian anti-virus utility that comes bundled with Plesk. It’s good and it tries to keep the bad guys out.

    To keep up with all the mutations out there it tries to update itself frequently. B default, Plesk sends the system admin an email when this happens – no matter if Dr. Web was successful or if there was a problem.

    This is what a sample email looks like:

    /etc/cron.daily/drweb-update:
    
    Dr.Web update details:
    Update server: http://update.us1.drweb.com/plesk/700/unix
    Update has begun at Thu May 17 03:37:07 2011
    Update has finished at Thu May 17 03:38:16 2011
    
    Following files have been updated:
    	/var/drweb/bases/drwdaily.vdb
    	/var/drweb/bases/drwtoday.vdb
    	/var/drweb/bases/dwmtoday.vdb
    	/var/drweb/bases/dwntoday.vdb
    	/var/drweb/bases/dwrtoday.vdb
    	/var/drweb/bases/timestamp
    	/var/drweb/updates/timestamp
    

    Multiply that email by the number of servers you’re looking after, and you’ll soon have an overflowing inbox.

    Here’s the solution: tweak a system file and divert those emails to nowhere.

    (More …)





     
    • John Smith 11:14 am on August 23, 2012 Permalink | Reply

      Nice find and resolution.
      Thank you.

    • Jay Versluis 8:31 am on May 24, 2018 Permalink | Reply

      In later versions of Plesk, the file /etc/cron.daily/drweb-update is not a single line anymore, it’s grown into a few. This trick still works though, as the line that calls the update script (/opt/drweb/update.pl) is still included. Amend this line with the /dev/null trick shown above and emails will be silenced.

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel