• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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