• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Plesk 12 Event Handlers -- where are they stored?

Status
Not open for further replies.

gbotica

Regular Pleskian
Hi,

I'm trying to find an easy way to copy a number of Event Handlers from the Plesk 12 Event Manager from one Plesk install to another. Is there a way to do this?

I've had a look, but cannot seem to figure it out -- are these handlers stored in the PSA database, or somewhere on the file system?

Thanks.
 
Yes, event handlers stored in psa database. Additionaly there is special CLI utility. For instance:

[root@ppu12-1 ~]# /usr/local/psa/bin/event_handler -l
Id 1
Name Service stopped
Priority 0
User root
Command /usr/local/psa/admin/bin/modules/watchdog/wd --unmonit-service=<new_service> --plesk-name

[root@ppu12-1 ~]# plesk db

mysql> select * from event_handlers;
+----+-----------+----------+------+-------------------------------------------------------------------------------------------+
| id | action_id | priority | user | command |
+----+-----------+----------+------+-------------------------------------------------------------------------------------------+
| 1 | 2 | 0 | root | /usr/local/psa/admin/bin/modules/watchdog/wd --unmonit-service=<new_service> --plesk-name |
+----+-----------+----------+------+-------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
 
Status
Not open for further replies.
Back
Top