上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 32 下一页
摘要: 运维自动化 文件分发 + 命令远程执行 + 定时任务 + 监控(告警、触发器) 自动化运维 偏向于上述需求的开发。 脚本分类 工具脚本:比如 xcall xscp xsync 调度脚本:调用上面脚本的脚本(需要人工干预),比如 command-selector 控制脚本:调用上面的的脚本的脚本(输入 阅读全文
posted @ 2022-10-25 09:58 武平宁 阅读(41) 评论(0) 推荐(0)
摘要: 概念澄清 A variable is a placeholder for a value. # 变量是值的占位符。 # 参考文档:https://grafana.com/docs/grafana/latest/dashboards/variables/ 变量的valve,可以从主机组或在主机中提取, 阅读全文
posted @ 2022-10-14 16:06 武平宁 阅读(838) 评论(0) 推荐(0)
摘要: 进bios,将模式修改为legacy。 硬盘使用 MBR 分区,需要用 Legacy BIOS 启动,而不是 UEFI BIOS 。 至于为什么安装的时候会报错? 可能是系统有这方面限制。也可能是别的原因。 阅读全文
posted @ 2022-10-13 16:25 武平宁 阅读(51) 评论(0) 推荐(0)
摘要: 制作xml文件 参考链接:https://libvirt.org/formatdomain.html#usb-pci-scsi-devices <hostdev mode='subsystem' type='usb'> <source> <vendor id='0x21c4'/> <product 阅读全文
posted @ 2022-10-13 16:11 武平宁 阅读(344) 评论(0) 推荐(0)
摘要: 打开debug日志抓取信息 2022-10-12 07:42:43.698+0000: 63115: debug : processMonitorEOFEvent:4814 : Monitor connection to 'xx' closed without SHUTDOWN event; ass 阅读全文
posted @ 2022-10-12 17:43 武平宁 阅读(1024) 评论(0) 推荐(0)
摘要: 参考文章:linux中top命令 VSS,RSS,PSS,USS 四个内存字段的解读 阅读全文
posted @ 2022-10-12 17:23 武平宁 阅读(81) 评论(0) 推荐(0)
摘要: 参考文档:zabbix 修改模板中单个主机的触发器 在主机的 Triggers,克隆后修改,再disable原来的触发器。 阅读全文
posted @ 2022-10-12 11:12 武平宁 阅读(143) 评论(0) 推荐(0)
摘要: 以kafka为例,需要先对 topic-parttion 做发现,脚本如下 cat topic_parttion_discovery.py #!/usr/bin/env python import json import os cmd=os.popen("""sh /usr/local/kafka/ 阅读全文
posted @ 2022-10-11 14:29 武平宁 阅读(260) 评论(0) 推荐(0)
摘要: - 创建 .service 文件 ``` # /usr/lib/systemd/system/zabbix-agent.service [Unit] Description=Zabbix Agent After=syslog.target After=network.target [Service] 阅读全文
posted @ 2022-10-11 10:39 武平宁 阅读(222) 评论(0) 推荐(0)
摘要: 只需一个命令,然后重启即可: # apt-get install ubuntu-desktop # 查看下一次启动的设置 systemctl get-default # reboot 阅读全文
posted @ 2022-10-10 10:15 武平宁 阅读(283) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 32 下一页