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:

  • MySQL database quota reached
  • MySQL database soft quota reached
  • Microsoft SQL Server database quota reached
  • Microsoft SQL Server database soft quota reached
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 panel.ini 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

 

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Parameter name and description Environment variable name Notes
Previously used value New value

Domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

 

DNS zone of a subdomain updated

Parameter name and description Environment variable name Notes
Previously used value New value

Domain name

OLD_DOMAIN_NAME

NEW_DOMAIN_NAME

Required

 

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

 

 

Leave your comments on this page

Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.