How to configure WebUI in Supervisor
To configure WebUI in Supervisor
Supervisor is a client/server process control system that allows its users to monitor and control a number of processes on Linux and other UNIX-like operating systems. Supervisor will manage your process to live all time. It is so simple to install Supervisor, and this article covers the method to configure WebUI for Supervisor on CentOS7.
The installation and configuration of daemon for supervisor on CentOS is already covered, if you have missed it click here.
Configuring WebUI
First, begin the process by opening the .conf file of the Supervisor.
[root@linuxhelp ~ ]# vim /etc/supervisord.conf
And in that file, you need to edit the following lines
. . [inet_http_server] port=192.168.7.211:9001 username=user password=123 . . And add following program to monitor [program:test] command=/bin/cat [program:test1] command=/bin/vim
Once it is done, you need to restart supervisord by making use of the following command.
[root@linuxhelp ~ ]# systemctl restart supervisord
And then, if you want to check if the program is monitor by supervisor give following command
[root@linuxhelp ~ ]# supervisorctl
test RUNNING pid 4029, uptime 0:00:07
test1 RUNNING pid 4030, uptime 0:00:07
supervisor> exit
You shall now go to your browser and give http://< serverip> :9001 as URL. Once the login page appears give the username and password and then click OK.
Supervisor is now open in your browser.
With this, the method to configure WebUI on Supervisor comes to an end.
Comments ( 0 )
No comments available