Database created

Parameter name and description

Environment variable name

Notes

Database server's ID

NEW_DATABASE_SERVER

Required

Database name

NEW_DATABASE_NAME

Required

Database server's host name

NEW_DATABASE_SERVER_HOST

Required

Database server's port

NEW_DATABASE_SERVER_PORT

Required

Database server's type (mysql, mssql, postgresql)

NEW_DATABASE_SERVER_TYPE

Required

Domain ID

NEW_DOMAIN_ID

Required

Database ID

NEW_DATABASE_ID

Required

Domain GUID

NEW_DOMAIN_GUID

 

Customer's GUID

NEW_CLIENT_GUID

 

 

Database deleted

Parameter name and description

Environment variable name

Notes

Database server's ID

OLD_DATABASE_SERVER

Required

Database name

OLD_DATABASE_NAME

Required

Database server's host name

OLD_DATABASE_SERVER_HOST

Required

Database server's port

OLD_DATABASE_SERVER_PORT

Required

Domain ID

OLD_DOMAIN_ID

 

Domain GUID

OLD_DOMAIN_GUID

 

Customer's GUID

OLD_CLIENT_GUID

 

 

Database user account created

Parameter name and description

Environment variable name

Notes

Database server's ID

NEW_DATABASE_SERVER

Required

Database server's host name

NEW_DATABASE_SERVER_HOST

Required

Database server's port

NEW_DATABASE_SERVER_PORT

Required

Database identification number

NEW_DATABASE_ID

Required

Database user name

NEW_DATABASE_USER_NAME

Required

Database user password

NEW_DATABASE_USER_PASSWORD

 

Domain ID

NEW_DOMAIN_ID

 

Domain GUID

NEW_DOMAIN_GUID

 

Customer's GUID

NEW_CLIENT_GUID

 

 

Database user account settings updated

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Database server's ID

OLD_DATABASE_SERVER

NEW_DATABASE_SERVER

Required

Database server's host name

OLD_DATABASE_SERVER_HOST

NEW_DATABASE_SERVER_HOST

Required

Database server's port

OLD_DATABASE_SERVER_PORT

NEW_DATABASE_SERVER_PORT

Required

Database identification number

OLD_DATABASE_ID

NEW_DATABASE_ID

Required

Database user name

OLD_DATABASE_USER_NAME

NEW_DATABASE_USER_NAME

Required

Database user password

OLD_DATABASE_USER_PASSWORD (this parameter is no longer applicable)

NEW_DATABASE_USER_PASSWORD

 

Domain ID

OLD_DOMAIN_ID

NEW_DOMAIN_ID

 

Domain GUID

OLD_DOMAIN_GUID

NEW_DOMAIN_GUID

 

Customer's GUID

OLD_CLIENT_GUID

NEW_CLIENT_GUID

 

 

Database user account deleted

Parameter name and description

Environment variable name

Notes

Database server's ID

OLD_DATABASE_SERVER

 

Required

Database server's host name

OLD_DATABASE_SERVER_HOST

 

Required

Database server's port

OLD_DATABASE_SERVER_PORT

 

Required

Database identification number

OLD_DATABASE_ID

 

Required

Database user name

OLD_DATABASE_USER_NAME

 

Required

Database user password

OLD_DATABASE_USER_PASSWORD (this parameter is no longer applicable)

 

 

Domain name

OLD_DOMAIN_NAME

 

Domain ID

OLD_DOMAIN_ID

 

Domain GUID

OLD_DOMAIN_GUID

 

Customer's GUID

OLD_CLIENT_GUID

 

 

Database disk quota events (Windows only)

Events:

Parameter name and description

Environment variable name

Notes

Subscription's domain name

OLD_DOMAIN_NAME

 

Subscription's GUID

OLD_DOMAIN_GUID

 

Customer's GUID

OLD_CLIENT_GUID

 

Customer's GUID

OLD_CLIENT_GUID

 

The total amount of disk space that can be used by MySQL databases on a subscription

OLD_MYSQL_DATABASE_QUOTA

Only for MySQL events

Disk space currently used by MySQL databases on a subscription

OLD_MYSQL_DATABASE_USAGE

Only for MySQL events

The total amount of disk space that can be used by Microsoft SQL Server databases on a subscription

OLD_MICROSOFT_SQL_DATABASE_QUOTA

Only for MS SQL Server events

Disk space currently used by Microsoft SQL Server databases on a subscription

OLD_MICROSOFT_SQL_DATABASE_USAGE

Only for MS SQL Server events

The soft limit can be changed in the panel.ini file by specifying the option databaseManagement.diskSpaceSoftQuota. The value is percentage of the limit (default is 85%). For example:

[databaseManagement]

diskSpaceSoftQuota=50

Example of event handler:

C:\temp\mssql_soft.bat <NEW_DOMAIN_NAME> <NEW_DOMAIN_GUID> <NEW_CLIENT_GUID> <NEW_MICROSOFT_SQL_DATABASE_QUOTA> <NEW_MICROSOFT_SQL_DATABASE_USAGE> <OLD_DOMAIN_NAME> <OLD_DOMAIN_GUID> <OLD_CLIENT_GUID>

echo "--------------" >> c:\temp\mssql_soft_handler.log

date /T >> c:\temp\mssql_soft_handler.log

echo "NEW_DOMAIN_NAME: %1" >> c:\temp\mssql_soft_handler.log

echo "NEW_DOMAIN_GUID: %2" >> c:\temp\mssql_soft_handler.log

echo "NEW_CLIENT_GUID: %3" >> c:\temp\mssql_soft_handler.log

echo "NEW_MICROSOFT_SQL_DATABASE_QUOTA: %4" >> c:\temp\mssql_soft_handler.log

echo "NEW_MICROSOFT_SQL_DATABASE_USAGE: %5" >> c:\temp\mssql_soft_handler.log

echo "OLD_DOMAIN_NAME: %6" >> c:\temp\mssql_soft_handler.log

echo "OLD_DOMAIN_GUID: %7" >> c:\temp\mssql_soft_handler.log

echo "OLD_CLIENT_GUID: %8" >> c:\temp\mssql_soft_handler.log

echo "--------------" >> c:\temp\mssql_soft_handler.log

 

Plesk component updated or added

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Plesk component name

OLD_PLESK_COMPONENT_NAME

NEW_PLESK_COMPONENT_NAME

Required

 

Reseller plan created

Parameter name and description

Environment variable name

Notes

Reseller plan ID

NEW_TEMPLATE_ID

Required

 

Reseller plan updated

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Reseller plan ID

OLD_TEMPLATE_ID

NEW_TEMPLATE_ID

Required

 

Reseller plan deleted

Parameter name and description

Environment variable name

Notes

Reseller plan ID

OLD_TEMPLATE_ID

Required

 

Service plan of reseller created

Parameter name and description

Environment variable name

Notes

Plan ID

NEW_DOMAIN_TEMPLATE

Required

 

Service plan of reseller updated

Parameter name and description

Environment variable name

Notes

Plan ID

OLD_DOMAIN_TEMPLATE

Required

 

Service plan of reseller deleted

Parameter name and description

Environment variable name

Notes

Plan ID

OLD_DOMAIN_TEMPLATE

Required

 

Service plan of administrator created

Parameter name and description

Environment variable name

Notes

Plan ID

NEW_ADMIN_TEMPLATE

Required

 

Service plan of administrator updated

Parameter name and description

Environment variable name

Notes

Plan ID

OLD_ADMIN_TEMPLATE

Required

 

Service plan of administrator deleted

Parameter name and description

Environment variable name

Notes

Plan ID

OLD_ADMIN_TEMPLATE

Required

 

Service plan of subscription changed

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Plan ID

OLD_DOMAIN_TEMPLATE

NEW_DOMAIN_TEMPLATE

Required

 

Additional FTP account created

Note: This event is relevant only for additional FTP accounts - the ones that are created after the subscription creation in addition to the main FTP account. If you want to track the creation of the main FTP account - the one that is created simultaneously with a subscription, you should use the Hosting settings created event.

Parameter name and description

Environment variable name

Notes

Domain name

NEW_DOMAIN_NAME

Required

Home directory

NEW_HOME_DIRECTORY

Required

System user name

NEW_SYSTEM_USER

 

System user password

NEW_SYSTEM_USER_PASSWORD

 

 

Additional FTP account updated

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

Home directory

OLD_HOME_DIRECTORY

NEW_HOME_DIRECTORY

Required

System user name

OLD_SYSTEM_USER

NEW_SYSTEM_USER

Required

System user password

OLD_SYSTEM_USER_PASSWORD

NEW_SYSTEM_USER_PASSWORD

 

 

Additional FTP account deleted

Parameter name and description

Environment variable name

Notes

Domain name

OLD_DOMAIN_NAME

Required

Home directory

OLD_HOME_DIRECTORY

Required

System user name

OLD_SYSTEM_USER

 

System user password

OLD_SYSTEM_USER_PASSWORD

 

 

Server health status changed

Parameter name and description

 

Environment variable

 

Notes

 

Previously used value

New value

Health monitor parameter (the same value for new and old)

OLD_HEALTH_PARAMETER

NEW_HEALTH_PARAMETER

Required

Parameter status

OLD_STATUS

NEW_STATUS

Required

 

Domain created

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain (the first domain added to a subscription) created” event.

Parameter name and description

Environment variable name

Notes

Domain name

NEW_DOMAIN_NAME

Required

Domain GUID

NEW_DOMAIN_GUID

 

Customer's GUID

NEW_CLIENT_GUID

 

 

Domain updated

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain (the first domain added to a subscription) updated” event.

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

Domain GUID

OLD_DOMAIN_GUID

NEW_DOMAIN_GUID

 

Customer's GUID

OLD_CLIENT_GUID

NEW_CLIENT_GUID

 

 

Domain deleted

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain (the first domain added to a subscription) deleted” event.

Parameter name and description

Environment variable name

Notes

Domain name

OLD_DOMAIN_NAME

Required

Domain GUID

OLD_DOMAIN_GUID

 

Customer's username

OLD_LOGIN_NAME

 

Customer's GUID

OLD_CLIENT_GUID

 

 

Domain status updated

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain, status updated” event.

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Website's domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

Website status

OLD_STATUS

NEW_STATUS

 

Detailed website status

OLD_DOMAIN_EXTENDED_STATUS

NEW_DOMAIN_EXTENDED_STATUS

 

 

Domain DNS zone updated

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain, DNS zone updated” event.

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

 

Domain GUID updated

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain, GUID updated” event.

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

Globally unique identifier (GUID)

OLD_GUID

NEW_GUID

Required

 

Subdomain created

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Subdomain of a default domain created” event.

Parameter name and description

Environment variable name

Notes

Subdomain name

NEW_SUBDOMAIN_NAME

Required

Parent domain name

NEW_DOMAIN_NAME

Required

Parent domain ID

NEW_DOMAIN_ID

 

Parent domain GUID

NEW_DOMAIN_GUID

 

 

Subdomain updated

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Subdomain of a default domain updated” event.

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Subdomain name

OLD_SUBDOMAIN_NAME

NEW_SUBDOMAIN_NAME

Required

Parent domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

Parent domain ID

OLD_DOMAIN_ID

NEW_DOMAIN_ID

 

Parent domain GUID

OLD_DOMAIN_GUID

NEW_DOMAIN_GUID

 

 

Subdomain deleted

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Subdomain of a default domain deleted” event.

Parameter name and description

Environment variable name

Notes

Subdomain name

OLD_SUBDOMAIN_NAME

Required

Subdomain owner's GUID

OLD_CLIENT_GUID

 

Subdomain owner's username

OLD_LOGIN_NAME

 

 

Domain alias created

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain, alias created” event.

Parameter name and description

Environment variable name

Notes

Domain alias name

NEW_DOMAIN_ALIAS_NAME

Required

Domain name

NEW_DOMAIN_NAME

 

Domain ID

NEW_DOMAIN_ID

 

Domain GUID

NEW_DOMAIN_GUID

 

Customer's GUID

NEW_CLIENT_GUID

 

Synchronization of DNS zone with a primary domain

NEW_DOMAIN_ALIAS_DNS

 

Domain alias switched on or off

NEW_STATUS

 

Web service for domain alias is on or off

NEW_DOMAIN_ALIAS_WEB

 

Mail service for domain alias is on or off

NEW_DOMAIN_ALIAS_MAIL

 

Support for accessing web applications in Java for domain alias visitors (on or off)

NEW_DOMAIN_ALIAS_TOMCAT

 

 

Domain alias updated

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain, alias updated” event.

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Domain alias name

OLD_DOMAIN_ALIAS_NAME

NEW_DOMAIN_ALIAS_NAME

Required

Domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

 

Domain ID

OLD_DOMAIN_ID

NEW_DOMAIN_ID

 

Domain GUID

OLD_DOMAIN_GUID

NEW_DOMAIN_GUID

 

Customer's GUID

OLD_CLIENT_GUID

NEW_CLIENT_GUID

 

Synchronization of DNS zone with a primary domain

OLD_DOMAIN_ALIAS_DNS

NEW_DOMAIN_ALIAS_DNS

 

Domain alias switched on or off

OLD_STATUS

NEW_STATUS

 

Web service for domain alias is on or off

OLD_DOMAIN_ALIAS_WEB

NEW_DOMAIN_ALIAS_WEB

 

Mail service for domain alias is on or off

OLD_DOMAIN_ALIAS_MAIL

NEW_DOMAIN_ALIAS_MAIL

 

Support for accessing web applications in Java for domain alias visitors (on or off)

OLD_DOMAIN_ALIAS_TOMCAT

NEW_DOMAIN_ALIAS_TOMCAT

 

 

Domain alias deleted

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain, alias deleted” event.

Parameter name and description

Environment variable name

Notes

Domain alias name

OLD_DOMAIN_ALIAS_NAME

Required

Domain ID

OLD_DOMAIN_ID

 

Domain name

OLD_DOMAIN_NAME

 

Domain GUID

OLD_DOMAIN_GUID

 

Customer's GUID

OLD_CLIENT_GUID

 

Customer's username

OLD_LOGIN_NAME

 

 

DNS zone of a domain alias updated

Domain means any add-on domain created under the subscription. For the first (default) domain created under the subscription, refer to the “Default domain, DNS zone of a domain alias updated” event.

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Domain alias name

OLD_DOMAIN_ALIAS_NAME

NEW_DOMAIN_ALIAS_NAME

Required

 

DNS zone of a subdomain under the default domain was updated

Default domain means the first domain created under the subscription. For other (add-on) domains created under the subscription, refer to the “DNS zone of a subdomain updated” event.

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

Subdomain name

 

NEW_SUBDOMAIN_NAME

 

 

DNS zone of a subdomain updated

Subdomain means subdomain of any add-on domain created under the subscription. For subdomain of the first (default) domain created under the subscription, refer to the “DNS zone of a subdomain under the default domain was updated” event.

Parameter name and description

Environment variable name

Notes

Previously used value

New value

Domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

Subdomain name

 

NEW_SUBDOMAIN_NAME

 

 

Update available

Parameter name and description

Environment variable name

Notes

Update version

NEW_PATCH_VERSION

 

 

Update installed

Parameter name and description

Environment variable name

Notes

Update version

NEW_PATCH_VERSION

 

 

Extension status updated

Parameter name and description

 

Environment variable

 

Notes

 

Previously used value

New value

Extension name

OLD_EXTENSION_NAME

 

NEW_EXTENSION_NAME

Required

Extension ID

OLD_EXTENSION_ID

 

NEW_EXTENSION_ID

Required

Extension release

OLD_EXTENSION_RELEASE

 

NEW_EXTENSION_RELEASE

 

Extension version

OLD_EXTENSION_VERSION

NEW_EXTENSION_VERSION

 

Extension status

OLD_STATUS

NEW_STATUS

Required

 

Extension installed

Parameter name and description

Environment variable name

Notes

Extension name

NEW_EXTENSION_NAME

Required

Extension ID

NEW_EXTENSION_ID

Required

Extension release

NEW_EXTENSION_RELEASE

 

Extension version

NEW_EXTENSION_VERSION

 

 

Extension uninstalled

Parameter name and description

Environment variable name

Notes

Extension name

OLD_EXTENSION_NAME

Required

Extension ID

OLD_EXTENSION_ID

Required

Extension release

OLD_EXTENSION_RELEASE

 

Extension version

OLD_EXTENSION_VERSION

 

 

Extension upgraded

Parameter name and description

 

Environment variable

 

Notes

 

Previously used value

New value

Extension name

OLD_EXTENSION_NAME

 

NEW_EXTENSION_NAME

Required

Extension ID

OLD_EXTENSION_ID

 

NEW_EXTENSION_ID

Required

Extension release

OLD_EXTENSION_RELEASE

 

NEW_EXTENSION_RELEASE

Required

Extension version

OLD_EXTENSION_VERSION

NEW_EXTENSION_VERSION

Required