• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs Watchdog extension package incomplete

trialotto

Golden Pleskian
Plesk Guru
TITLE:
Watchdog extension package incomplete
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Product version: Plesk Onyx 17.8.11 Update #15
Update date: 2018/07/23 20:13
Build date: 2018/07/03 05:11
OS version: Ubuntu 16.04
Revision: c6ad07c3f39fbcd61cf36968c6a1fe0bded17d3c
Architecture: 64-bit
Wrapper version: 1.2
PROBLEM DESCRIPTION:
In a clean Plesk instance, the (fresh) installation of the Watchdog extension will not result in a proper installation.

The directories

- /opt/psa/etc/modules/watchdog/service.d
- /opt/psa/etc/modules/watchdog/service.tpl.d

are empty.

These directories should contain files, being

- bind
- dovecot
- drwebd
- postfix

and this causes issues when starting watchdog monitoring processes.
STEPS TO REPRODUCE:
One way to check this bug: run the command

dpkg -L psa-watchdog | grep service

and one can change the part "service" to dovecot, bind, drwebd or postfix.

One way to reproduce this bug: install the Watchdog extension, after removing previous installations of Watchdog and in specific the entire contents of the /opt/psa/etc/modules/watchdog directory.
ACTUAL RESULT:
The directories

- /opt/psa/etc/modules/watchdog/service.d
- /opt/psa/etc/modules/watchdog/service.tpl.d

are empty.​
EXPECTED RESULT:
The directory /opt/psa/etc/modules/watchdog/service.tpl.d should contain:

- bind
- dovecot
- drwebd
- postfix

Note that activating the Watchdog monitoring process will result in

a) the creation of the necessary files in the

/opt/psa/etc/modules/watchdog/service.d

directory, (and)

b) the very important INCLUDE directive at the bottom of monitrc (!).​
ANY ADDITIONAL INFORMATION:
Related issues:

- rkhunter at version 1.4.4, while version 1.4.6 already has been released
- rkhunter not configured properly: many unnecessary warnings
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
From developer:

ACTUAL RESULT:
The directories

- /opt/psa/etc/modules/watchdog/service.d
- /opt/psa/etc/modules/watchdog/service.tpl.d

are empty.
These directories are expected to be empty, because mentioned configs are generated in runtime (during watchdog start).
Note that activating the Watchdog monitoring process will result in

a) the creation of the necessary files in the
We are not going to change it at the moment.
Moreover, it's unclear what is the actual problem (i.e. which scenario customer have and what does not work).
Looks like everything works as expected.
 
@IgorG,

It is fine by me that Plesk Team is not changing the Watchdog extension, even though the Watchdog extension is pretty useless if some services are not monitored.

The one (and most important) issue I mentioned simply has to do with Postfix, Bind, Dovecot and Spamassassin not being monitored.

The other (and minor) issue I mentioned (here or elsewhere) has to do with Rkhunter not functioning in an optimal fashion.

In essence, Watchdog extension has added value, but the current state does not add any value........... and that is a shame for a component that should be a core component.

Regards.....

PS I am not sure why the /opt/psa/etc/modules/watchdog/service.tpl.d should be empty, if that contains the templates that result in the files in /opt/psa/etc/modules/watchdog/service.d when Watchdog monitoring processes are started. Maybe I lost my marbles, so would you please explain your statement?
 
Back
Top