Cockpit 进行主机监控

官网文档: https://cockpit-project.org/running.html

版本信息

针对Red Hat

[root@master ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)

安装步骤

sudo subscription-manager repos --enable rhel-7-server-extras-rpms
sudo yum install cockpit
sudo systemctl enable --now cockpit.socket

在okd集群环境中使用

查询组件

[root@master cockpit]# yum makecache fast

[root@master cockpit]# yum search cockpit
已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
========================================================================== N/S matched: cockpit ==========================================================================
cockpit-bridge.x86_64 : Cockpit bridge server-side component
cockpit-composer.noarch : Composer GUI for use with Cockpit
cockpit-dashboard.x86_64 : Cockpit remote servers and dashboard
cockpit-doc.x86_64 : Cockpit deployment and developer guide
cockpit-docker.x86_64 : Cockpit user interface for Docker containers
cockpit-kdump.noarch : Cockpit user interface for kernel crash dumping
cockpit-kubernetes.x86_64 : Cockpit user interface for Kubernetes cluster
cockpit-machines.x86_64 : Cockpit user interface for virtual machines
cockpit-machines-ovirt.noarch : Cockpit user interface for oVirt virtual machines
cockpit-networkmanager.noarch : Cockpit user interface for networking, using NetworkManager
cockpit-packagekit.x86_64 : Cockpit user interface for package updates
cockpit-pcp.x86_64 : Cockpit PCP integration
cockpit-selinux.noarch : Cockpit SELinux package
cockpit-sosreport.noarch : Cockpit user interface for diagnostic reports
cockpit-storaged.noarch : Cockpit user interface for storage, using udisks
cockpit-subscriptions.noarch : Cockpit subscription user interface package
cockpit-system.noarch : Cockpit admin interface package for configuring and troubleshooting a system
cockpit-tests.x86_64 : Tests for Cockpit
cockpit-ws.i686 : Cockpit Web Service
cockpit-ws.x86_64 : Cockpit Web Service
subscription-manager-cockpit.noarch : Subscription Manager Cockpit UI
cockpit.x86_64 : A user interface for Linux servers

安装

# 只能做管理, 无法做预警
# cockpit + k8s: https://access.redhat.com/solutions/2206041
# 改端口: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/getting_started_with_cockpit/index#changing_the_cockpit_port
sudo yum install -y cockpit cockpit-docker cockpit-kubernetes cockpit-dashboard
sudo systemctl start cockpit
sudo systemctl enable cockpit
# https://localhost:9090 # 分发密匙
# ssh-copy-id -i /root/.ssh/id_rsa root@node

最新文章

  1. KETTLE实现数据的删除和更新
  2. 一次莽撞的行为:在phpmyadmin中修改MySQL root密码后无法操作数据库
  3. SqlServer2008R2附件数据库失败
  4. oracle 大字段clob检索
  5. Incorrect string value: '\xF0\xA1\xA1\x92' for column 'herst' at row 1
  6. IOS 改变导航栏返回按钮的标题
  7. Machine Learning for hackers读书笔记(二)数据分析
  8. poj 2409(polya定理模板)
  9. Spark RDD/Core 编程 API入门系列 之rdd案例(map、filter、flatMap、groupByKey、reduceByKey、join、cogroupy等)(四)
  10. 关于C语言指针的问题
  11. mysql中如何更新一个字段的值为它本身的值连接上一个字符串
  12. 【 D3.js 入门系列 --- 10.2 】 你可以拖动地图
  13. RF接口测试本地环境部署
  14. Ioc在重构代码中的应用
  15. 基于spark和sparkstreaming的word2vec
  16. http常见状态码(转载)
  17. JUnit4测试出错(一)
  18. 解决IE8下CSS3选择器 :nth-child() 不兼容的问题
  19. CSS的应用下
  20. SHELL脚本--expr命令全解

热门文章

  1. Opencv— — Color Gradient
  2. shell之sort和uniq 及wc 的使用
  3. win10 下安装linux子系统
  4. ubuntu解决挂起后不能唤醒
  5. 【旧文章搬运】PsVoid中IrpCreateFile函数在Win7下蓝屏BUG分析及解决
  6. StackOverFlow页面不正常,因为CDN被墙了
  7. nohup不输出日志信息的方法及linux重定向
  8. 微信小程序开发之页面注册
  9. POJ3715【二分匹配-增广】
  10. lightoj 1125【背包·从n个选m个】