cesi is a web interface provides manage many supervisors instance from same interface.
cesi is a web interface provides manage many supervisors instance from same interface.
#cesi ( Centralized Supervisor Interface )
cesi is a web interface provides manage supervizors from same interface.
Dependencies
- Python
- Flask
- sqlite3
- Enable inet_http_server in supervisord.conf in each server.
[inet_http_server]
port=*:9001
username=admin
password=admin
Installation
$sudo apt-get install sqlite3 python python-flask $git clone https://github.com/Gamegos/cesi $cd cesi $sqlite3 /opt/cesi//userinfo.db < userinfo.sql
Configuration
Fill cesi.conf
#cp cesi.conf /etc/cesi.conf
Run Project
$python web.py
First Login
Please change password after first login!
Username : admin
Password : admin
Screenshots
Make the cesi as service
vi /etc/supervisor/conf.d/cesi.conf[program:cesi]
command=/usr/bin/python /opt/cesi/cesi/web.py
process_name=%(program_name)s
user=root
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/log/cesi-stdout.log
stdout_logfile_maxbytes=1MB
stdout_logfile_backups=10
stdout_capture_maxbytes=1MB
stdout_events_enabled=false
stderr_logfile=/var/log/cesi-stderr.log
stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10
stderr_capture_maxbytes=1MB
stderr_events_enabled=false
Console URL:
http://<cesiHostMachineIP>:5000/