Control supervisors from User Interface

on with Leave a reply

Overview :

Supervisor is the process control system. It’s help to keep running the process. If you we want to continuously run the job, we can configure it in supervisor. It will monitor the process. once process get complete supervisor will restart the process again, so it will run continuously.

What is superviosr?

Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.

get more details from here.

Configure User Interface for supervisor

Let’s come to the point, now we are not going to any magic stuff. User Interface is inbuilt feature in supervisor. Mostly developers love to use the terminal and commands to manage the supervisor, but non technique person will not love that. So Let’s configure it!

supervisor status

Find your supervisor config file (supervisord.cofig). It will be under /etc/ folder.

Move to etc

cd /etc

Use your favourite editor, I am using vi editor.

vi supervisord.cofig

find the line [inet_http_server], default, It will commented out.

[inet_http_server]         ; inet (TCP) server disabled by default
port=127.0.0.1:9001        ; (ip_address:port specifier, *:port for all iface)
username=user              ; (default is no username (open server))
password=password               ; (default is no password (open server))

Configure your IP address, user name and password as above. That’s all you did the configuration.

Now just access your ip address with port in your favourite browser, It will prompt the user name and password to login. Just enter your config details. Then you can see the supervisor control panel, there we can manage all the supervisor process.

127.0.0.1:9001

If you unable to access your ip, your port may be restricted by firewall. So just enter below command to enable port 9001.

ufw allow 9001

UFW – Uncomplicated Firewall. please check more on their website.

Hope it helps someone

 

Posted in Cocktail, Ubuntu and tagged , by .

About Gowri

I am professional web developer with 4+ years experience. PHP, jQuery, WordPress, Magento and Symfony2 are my key skills in web development. I am working with strong enthusiastic team with spirit. We provide all web related solution like HTML/CSS development, Web graphic design and Logo.

Leave a Reply

Your email address will not be published. Required fields are marked *