How can I configure Sentinel Anti-malware from the command line to make changes across multiple servers or when using automated deployment tools like Ansible?

Sentinel 1.24-1 comes with a new command line interface (CLI) that you can use to configure it from the command line. 

Important

  1. Option values should be set using the equal sign (=).
  2. If an option value has spaces or semicolons then the value should be wrapped in single quotes.
  3. If an option value needs single quotes then the value should be wrapped in single quotes with value single quotes properly escaped replacing a single quote with '\''
  4. Options are case sensitive.

Run the following command for more information:

/usr/local/psa/admin/sbin/modules/sentinel/minion --task=help

Minion is a cli tool for performing tasks

Usage:

/usr/local/psa/admin/sbin/modules/sentinel/minion --task={task} --option1=value1 --option2=value2

Where {task} is one of the following:

  * antimalware:antimalware
  * antimalware:domainmonitoring
  * antimalware:ignore
  * antimalware:monitoring:paths
  * antimalware:monitoring
  * antimalware:quarantine
  * antimalware:scanning:schedule
  * antimalware:scanning
  * antimalware:statisticalanalysis
  * antivirus:antivirus
  * antivirus:scanning
  * antivirus:scanninglimits
  * antivirus:signatureproviders
  * antivirus:signatureupdates
  * application:about
  * application:application
  * application:geolocation
  * application:maintenance:database
  * application:maintenance
  * application:setup
  * help

For more information on what a task does and usage details execute:

/usr/local/psa/admin/sbin/modules/sentinel/minion --task={task} --help

Examples using the CLI:

// install the sentinel extension
plesk bin extension --install sentinel

// Run the setup wizard to active the extension license, run the application installer, and configure the application
/usr/local/psa/admin/bin/modules/sentinel/minion --task=application:setup --license_key=XXXXXX
  • cli, ansible, command line interface
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I view the contents of a file in the quarantine?

To View the File Contents Navigate to Sentinel Anti-malware -> Quarantine Click on a File...

How can I test that the Anti-malware detection is working?

Testing Sentinel Anti-malware Detection Download the eicar test malware into the httpdocs...

How can I change the interface language of the extension?

You can change the interface language under Settings -> Application Settings -> Locale...

Where are the configuration files for Sentinel located?

Centos/RHEL/CloudLinux/AlmaLinux Configuration files: // Linux malware detect (Anti-malware...

How can I enable third party anti-virus signatures within Sentinel to improve the ClamAV detection rate?

Sentinel supports enabling third party anti-virus signatures to improve the detection rate. Full...