Cockpit is one of the important feature introduced in RHEL8 for server discovery in Web Browser. Cockpit is a Red Hat sponsored free software project released under the LGPL v2.1+

It is completely free to use and available under the GNU LGPL. 

You can easily install using “cockpit” rpm using yum and start the service. Though is automatically install with normal server or workstation installation.

By default it runs on port 9090. On first login with normal or root user system broadcast a message to activate cockpit web console using below:

# systemctl enable --now cockpit.socket

Note: As this is beta version with continuous development, you might get some additional options in your web view depending on the release.

Getting Started

Browse the console using https://ip_address:9090

The webpage uses a self signed certificate, accept the certificate to proceed and you are provided with a web console like below where you can login with  user credentials to proceed further.

Default view

After successful login, you will get a left pane containing different tabs and center pane contains some information about system, where you can check below:

  • Hardware Version
  • Asset tag & Machine ID
  • OS info
  • Subscription status
  • System name, domain status and current system time.
  • Some options to restart or power off the host with option to add custom message for users and delay in restart operation.

Further right panel shows different graphs related to CPU, memory, Disk I/O, Network statistics.

Logs

Here we can view the logs generated as per the priority. Click on any log and you will be able to see more information about it.

Networking

Here we are able to see different network options like

  • Network statistics like traffic in and out of server.

We also get an option to manage firewall operations like:

  • Starting or stopping firewall.
  • Adding/Removing services in firewall.

We can also select particular interface o get more information about it, create new interface, create bond/team/bridge/vlan. Add or remove interface in bonds.

User Management

Here we can create new user account. To check more information about particular account, click on that. There we can perform different operations on user account.

Services

Here we can view the service status of the services available. On clicking further on any service, we can stop/start/restart it, enable or disable the service.

Applications

Here we can look for any plugins related to cockpit.

Diagnostics

This help to generate sosreport in easy manner, and further allows to download it.

Kernel Dump

This help with graphical management of Kdump utility, here also we can crash kernel to test the dump generation as per configured settings.

Selinux

Here we can enable/disable selinux enforcement. Scrolling down we can see any selinux Access control errors.

pic17

Subscription

This help to view your subscription status, and let you register if you are not registered already.

Terminal

This is a system admins favorite tab. This let you allow to run commands as you normally run on OS CLI.

Thanking for reading this further. Hoping you will test at your end and share the feedback. Happy learning  


Leave a Reply

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

en_USEnglish
si_LKSinhala en_USEnglish