• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Forwarded to devs watchdog extension will not display more than 25 service entries

danami

Silver Pleskian
TITLE:
watchdog extension will not display more than 25 service entries
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Product version: Plesk Onyx 17.8.11 Update #18
Update date: 2018/08/30 01:37
Build date: 2018/08/24 04:47
OS version: CentOS 7.5.1804
Revision: 6eb2f538f0b13302f09cd8a38c64c82940622756
Architecture: 64-bit
Wrapper version: 1.2

Watchdog version: 2.0-11
PROBLEM DESCRIPTION:
We have had requests to add watchdog service entries for our Plesk extensions. I've completed all the work to add the custom service templates and add the new service entries but the Watchdog service page will not display over 25 entries regardless of if they are enabled or not.​
STEPS TO REPRODUCE:
Insert some sample custom service entries:
Code:
INSERT INTO module_watchdog_service (name, label, sort_val, start_cmd, stop_cmd) VALUES ('test1', 'Test 1 service', 160, '/bin/systemctl start test1.service', '/bin/systemctl stop test1.service');
INSERT INTO module_watchdog_service (name, label, sort_val, start_cmd, stop_cmd) VALUES ('test2', 'Test 2 service', 160, '/bin/systemctl start test2.service', '/bin/systemctl stop test2.service');
INSERT INTO module_watchdog_service (name, label, sort_val, start_cmd, stop_cmd) VALUES ('test3', 'Test 3 service', 160, '/bin/systemctl start test3.service', '/bin/systemctl stop test3.service');
INSERT INTO module_watchdog_service (name, label, sort_val, start_cmd, stop_cmd) VALUES ('test4', 'Test 4 service', 160, '/bin/systemctl start test4.service', '/bin/systemctl stop test4.service');

Now go to the watchdog service page to view the new entries. The last entry is missing.​
ACTUAL RESULT:
The last service entry "Test 4 service" is not displayed on the watchdog service page.​
EXPECTED RESULT:
The service page should display all database entries or paging over 25.​
ANY ADDITIONAL INFORMATION:
I'm thinking that the paging for the watchdog service page is missing ?
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 

Attachments

  • 2018-08-30_07h41_49.png
    2018-08-30_07h41_49.png
    90.5 KB · Views: 7
Last edited:
Watchdog extension has a predefined set of services to track and custom services are not supported. Thus, it is expected that only one page is available where all our services can be found and the feature to list pages is not required.
The info about nonsupporting of custom services in Watchdog can be found here:
Is it possible to add a custom service monitoring to Watchdog?
 
@IgorG thanks for forwarding this to the devs. Once the UI paging issue is solved everything else works perfectly. Watchdog (monit) support is paramount for service uptime.
 
Last edited:
Back
Top