Hi!
I am using Whostmgr::XMLUI::cPanel to get some info in the WHM plugin (with cpanel_exec).
For example, i set:
to get mysql databases.
Everything works fine, but i have 2 questions:
1. What module and func should i use to retrieve service status? (xml-api/servicestatus)
Nothing works, no info in the docs.
2. api2_stat from StatsBar is marked as deprecated. What should i use instead?
Thanks.
p.s. Api call tracer shows absolutely nothing on https://cpanel:2087/cpsess123456/xml-api/servicestatus.
I am using Whostmgr::XMLUI::cPanel to get some info in the WHM plugin (with cpanel_exec).
For example, i set:
Code:
cpanel_xmlapi_module = 'MysqlFE'
cpanel_xmlapi_func = 'listdbs'
Everything works fine, but i have 2 questions:
1. What module and func should i use to retrieve service status? (xml-api/servicestatus)
Nothing works, no info in the docs.
2. api2_stat from StatsBar is marked as deprecated. What should i use instead?
Thanks.
p.s. Api call tracer shows absolutely nothing on https://cpanel:2087/cpsess123456/xml-api/servicestatus.
Last edited: