• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Input CLU utils notifications

nilsringersma_nl

Basic Pleskian
OS ‪CentOS Linux 7.7.1908 (Core)‬
Product Plesk Obsidian 18.0.19

My wish:
Turn off all Plesk notifications to admin/reseller/client through CLI utilities.

Used documentation:
notification: Email Notification About System Events

Input 1:
# plesk bin notification --update -id 12 -send2reseller false
Notification '' does not exists. exit status 4

Documentation shows this ID should work, it doesn't for client/reseller/admin.

Input 2:
The ID of 28 is missing in documentation but does work. Maybe it was forgotten in the documentation?

Question 3:
A lot of notifications (i.e. WP-toolkit, SSL'it) don't show a corresponding ID in the docs. For every install of Plesk we now disable those manually. Is it possible to either disable those on install or afterward via command line?

Any tips would be appreciated :).
 
Actually there is should be -code instead of -id:

Code:
# plesk bin notification --help

Usage: notification command [options]

    Available commands:
    --update or -u                     Updates notifications about system
                                       events.
    --expiration   <number of days>    Sets how many days in advance users
                                       receive expiration warnings.
    --help or -h                       Displays this help page.

    Available options:
    -code              <string>        Notification code
    -send2admin        <true|false>    Send notification to administrators.
    -send2reseller     <true|false>    Send notification to resellers.
    -send2client       <true|false>    Send notification to customers.
    -send2email        <true|false>    Send notification to a custom email.
    -subj              <string>        Notification subject
    -subj-set-default                  Set notification subject to default
                                       value
    -email             <string>        Custom email
    -text              <text>          Notification text
    -text-set-default                  Set notification text to default value

Version: 18.0.20_build1800191017.19 os_CentOS 7

Please submit report here Reports
I'll forward it to developers.
Thanks.
 
Back
Top