gamegos / cesi

CeSI is a web interface for managing multiple supervisors from the same place.
GNU General Public License v3.0
571 stars 184 forks source link

[featureRequest] Throw error message if supervisord is incorrectly configured and throws UNKNOWN_METHOD #117

Open shouldsee opened 1 year ago

shouldsee commented 1 year ago

If superviosrd is missing the section to enable RPC interface, cesi would show 0 processes even if node is connected. Inspecting log reveals an xmlrpc error (UNKNOWN_METHOD) captured silently, which could be fixed by appending the following to supervisord conf . It would be nice to have this information reflected at the web site.

#; the below section must remain in the config file for RPC
#; (supervisorctl/web interface) to work, additional interfaces may be
#; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface