How to temporary disable malware scanner?
Forum
  1. Forums
  2. Imunify360
  3. Imunify360 and Imunify Sensor
  1. Host Provider
  2. Thursday, 08 October 2020
  3.  Subscribe via email
Hello,

When we use the WHM "Transfer Tool" to move cpanel accounts to our servers, it causes Imunify360 malware scanner to go crazy with very high io usage. (I assume the scanner is checking all the new files that are arriving from the remote server, as each new cpanel account is created.)

However.. this causes a problem because the server load goes very high and disk io wait% is very high. The result is a very slow server, and our customers complain. (I have already set maximum number of concurrent transfer to "1".)

Is it possible to temporarily disable the malware scanner while we do the WHM transfers? How can we do this using command line? (How to disable and then later re-enable using command line?)

Thanks!
Rate this post:
  1. 08.10.2020 11:10:33
  2. # 1
Sergey Khristich Accepted Answer
Posts: 504
Joined: 20.05.2019
0
Votes
Undo
Hello,
Thank you for reaching out! Try temporarily disabling these options until you are finished with WHM "Transfer Tool" to move cPanel accounts:

# imunify360-agent config update '{"MALWARE_SCANNING": {"enable_scan_inotify": false}}' && imunify360-agent config update '{"MALWARE_SCANNING": {"enable_scan_modsec": false}}' && imunify360-agent config update '{"MALWARE_SCANNING": {"enable_scan_pure_ftpd": false}}'

Then, to enable, use these commands

# imunify360-agent config update '{"MALWARE_SCANNING": {"enable_scan_inotify": true}}' && imunify360-agent config update '{"MALWARE_SCANNING": {"enable_scan_modsec": true}}' && imunify360-agent config update '{"MALWARE_SCANNING": {"enable_scan_pure_ftpd": true}}'

It looks like this is related to realtime scanning, described in more detail here https://docs.imunify360.com/dashboard/#malware
Hope to hear from you soon.
Marketing Manager
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.

EU e-Privacy Directive

We use cookies to ensure you get the best experience using our website and services. Read more about it in our Privacy Policy. Please agree to the use of cookies to proceed. Alternatively, you may disable cookies in your browser at any time.

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.