[How to] How to trigger notification send for particular events

Created:

2016-11-16 13:26:18 UTC

Modified:

2017-04-24 11:35:36 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[How to] How to trigger notification send for particular events

Applicable to:

  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows

Information

First of all check that notification for required event is enabled in Home -> Tools & Setting -> Notifications

notifications

Check if all required checkboxes are enabled. Also check if correct email addresses are specified in admin settings, resellers setting, customers settings.

Notifications for such events as:

  • "Resource usage limits exceeded by reseller account"
  • "Reseller account suspended due to resource overuse"
  • "Reseller's resource usage limits reached by reseller's subscriptions due to overselling"

are sent upon daily maintenance task is execution. On the step ' AnalyseClientStatistics '. So if you have the reseller who exceeded his resource limits to trigger notification send run the following command

"C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\php.exe" -dauto_prepend_file= "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\DailyMaintainance\   ask-script.php" AnalyseClientStatistics "--period=daily" "--process-client-ids=$client_id"

where $client_id is ' id ' value of the reseller from clients table of psa database:

mysql> select * from clients \\G

Notifications for such events as:

  • "Resource usage limits exceeded by subscription"
  • "Subscription suspended due to resource overuse"

are sent when ' AnalyseDomainStatistics ' part of daily maintenance task is executed.

If you have a subscription that exceeded resource limits to trigger notification send run the following command:

"C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\php.exe" -dauto_prepend_file= "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\DailyMaintainance\   ask-script.php" AnalyseDomainStatistics "--period=daily" "--process-domain-ids=$domain_id"

where $domain_id is 'id' value of the domain in domains table of psa database.

mysql> select * from domains \\G
Have more questions? Submit a request
Please sign in to leave a comment.