PLESK EVENT MANAGER

Section 4.1 Parameters

You can assign an event handler by defining a command line and parameters of the invoked utility and specifying a user, on behalf of which the event handler is executed. Instead of event handler options, the <parameter> templates that can be used are presented in the table below:

Table 2.

Component name/description Command line parameter Notes
Old component value New component value
For the events 'client_create', 'client_update', 'client_delete'
Login Name old_login_name new_login_name required
Contact Name old_contact_name new_contact_name required
Company Name old_company_name new_company_name  
Phone old_phone new_phone  
Fax old_fax new_fax  
E-mail old_email new_email  
Address old_address new_address  
City old_city new_city  
State/Province old_state_province new_state_province  
Postal/ZIP Code old_postal_zip_code new_postal_zip_code  
Country old_country new_country  
For the events 'domain_create', 'domain_update', 'domain_delete'
Domain Name old_domain_name new_domain_name required
For the events 'subdomain_create', 'subdomain_update', 'subdomain_delete'
Subdomain Name old_subdomain_name new_subdomain_name required
Parent Domain Name old_domain_name new_domain_name required
FTP account old_system_user_type new_system_user_type  
Subdomain owner's login name old_system_user new_system_user  
Hard disk quota old_hard_disk_quota new_hard_disk_quota  
SSI support old_ssi_support new_ssi_support  
PHP support old_php_support new_php_support  
CGI support old_cgi_support new_cgi_support  
Perl support old_mod_perl_support new_mod_perl_support  
Python support old_mod_python_support new_mod_python_support  
ColdFusion support old_coldfusion_support new_coldfusion_support  
ASP support old_apache_asp_support new_apache_asp_support  
SSL support old_ssl_support new_ssl_support  
For the events 'phys_hosting_create', 'phys_hosting_update'
Domain Name old_domain_name new_domain_name required
IP Address old_ip_address new_ip_address  
IP Type old_ip_type new_ip_type  
System User old_system_user new_system_user  
System User Password old_system_user_password new_system_user_password  
Access to system old_system_shell new_system_shell  
MS FrontPage Support old_fp_support new_fp_support  
MS FrontPage over SSL Support old_fpssl_support new_fpssl_support  
MS FrontPage Authoring old_fp_authoring new_fp_authoring  
MS FrontPage Admin Login old_fp_admin_login new_fp_admin_login  
MS FrontPage Admin Password old_fp_admin_password new_fp_admin_password  
SSI Support old_ssi_support new_ssi_support  
PHP Support old_php_support new_php_support  
CGI Support old_cgi_support new_cgi_support  
Perl Support old_mod_perl_support new_mod_perl_support  
ASP Support old_apache_asp_support new_apache_asp_support  
SSL Support old_ssl_support new_ssl_support  
Web Statistics old_web_statistics new_web_statistics  
Custom Error Documents old_apache_error_documents new_apache_error_documents  
Hard Disk Quota old_hard_disk_quota new_hard_disk_quota  
For the event 'phys_hosting_delete'
Domain Name old_domain_name new_domain_name required
For the events 'mailname_create', 'mailname_delete'
Mail name old_mailname new_mailname required (in the format mailname@domain)
For the event 'mailname_update'
Mail name old_mailname new_mailname required (in the format mailname@domain)
Mailbox old_mailbox new_mailbox  
Password old_password new_password  
Mailbox Quota old_mailbox_quota new_mailbox_quota  
Redirect old_redirect new_redirect  
Redirect Address old_redirect_address new_redirect_address  
Mail Group old_mail_group new_mail_group  
Autoresponders old_autoresponders new_autoresponders  
Mail User Control Panel Access old_mail_controlpanel_access new_mail_controlpanel_access  
For the event 'webuser_delete'
Domain Name old_domain_name new_domain_name required
Web User Name old_webuser_name new_webuser_name required
For the events 'webuser_create', 'webuser_update'
Domain Name old_domain_name new_domain_name required
Web User Name old_webuser_name new_webuser_name required
Web User Password old_webuser_password new_webuser_password  
SSI Support old_ssi_support new_ssi_support  
PHP Support old_php_support new_php_support  
CGI Support old_cgi_support new_cgi_support  
Perl Support old_mod_perl_support new_mod_perl_support  
Python Support old_mod_python_support new_mod_python_support  
ASP Support old_apache_asp_support new_apache_asp_support  
Hard Disk Quota old_hard_disk_quota new_hard_disk_quota  
For the event 'client_limits_update'
Contact Name old_contact_name new_contact_name required
Maximum Number of Domains old_maximum_domains new_maximum_domains  
Maximum Amount of Disk Space old_maximum_disk_space new_maximum_disk_space  
Maximum Amount of Traffic old_maximum_traffic new_maximum_traffic  
Maximum Number of Web Users old_maximum_webusers new_maximum_webusers  
Maximum Number of Databases old_maximum_databases new_maximum_databases  
Maximum Number of Mailboxes old_maximum_mailboxes new_maximum_mailboxes  
Mailbox Quota old_maximum_mailbox_quota new_maximum_mailbox_quota  
Maximum Number of Mail Redirects old_maximum_mail_redirects new_maximum_mail_redirects  
Maximum Number of Mail Groups old_maximum_mail_groups new_maximum_mail_groups  
Maximum Number of Mail Autoresponders old_maximum_mail_autorespon ders new_maximum_mail_autorespon ders  
Maximum Number of Mailing Lists old_maximum_mail_lists new_maximum_mail_lists  
Maximum Number of Web Applications old_maximum_tomcat_web_appli cations new_maximum_tomcat_web_appli cations  
Expiration Date old_expiration_date new_expiration_date  
For the event 'domain_limits_update'
Domain Name old_domain_name new_domain_name required
Maximum Amount of Disk Space old_maximum_disk_space new_maximum_disk_space  
Maximum Amount of Traffic old_maximum_traffic new_maximum_traffic  
Maximum Number of Web Users old_maximum_webusers new_maximum_webusers  
Maximum Number of Databases old_maximum_databases new_maximum_databases  
Maximum Number of Mailboxes old_maximum_mailboxes new_maximum_mailboxes  
Mailbox Quota old_maximum_mailbox_quota new_maximum_mailbox_quota  
Maximum Number of Mail Redirects old_maximum_mail_redirects new_maximum_mail_redirects  
Maximum Number of Mail Groups old_maximum_mail_groups new_maximum_mail_groups  
Maximum Number of Mail Autoresponders old_maximum_mail_autorespon ders new_maximum_mail_autorespon ders  
Maximum Number of Mailing Lists old_maximum_mail_lists new_maximum_mail_lists  
Maximum Number of Web Applications old_maximum_tomcat_web_appli cations new_maximum_tomcat_web_appli cations  
Expiration Date old_expiration_date new_expiration_date  
For the events 'maillist_create', 'maillist_update', 'maillist_delete'
Domain Name old_domain_name new_domain_name required
Mailing list name old_mail_list_name new_mail_list_name required
Mailing list enabled old_mail_list_enabled new_mail_list_enabled  
For the events 'cp_user_login', 'cp_user_logout'
Contact Name old_contact_name new_contact_name  
For the event 'dl_user_update'
Allow domain user access old_allow_domain_user_access new_allow_domain_user_access  
Login Name old_login_name new_login_name required
Domain Name old_domain_name new_domain_name required
Contact Name old_contact_name new_contact_name  
Company Name old_company_name new_company_name  
Phone old_phone new_phone  
Fax old_fax new_fax  
E-mail old_email new_email  
Address old_address new_address  
City old_city new_city  
State/Province old_state_province new_state_province  
Postal/ZIP Code old_postal_zip_code new_postal_zip_code  
Country old_country new_country  
For the events 'siteapp_install', 'siteapp_reconfigure', 'siteapp_unchain', siteapp_uninstall'
Site application package name old_site_application_package_ name new_site_application_package_ name required
Domain type (domain or subdomain) old_site_application_domain_type new_site_application_domain_type required
Installation path (httpdocs or httpsdocs) old_site_application_directory new_site_application_directory required
Installation path within the destination directory old_site_application_installation_ prefix new_site_application_installation_ prefix required
For the events 'siteapppkg_install', 'siteapppkg_uninstall'
Site application package name old_site_application_package_ name new_site_application_package_ name required