上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页
摘要: 定时任务 */5 * * * * cd /home/ops/prometheus-2.3.0.linux-amd64/;rsync -artz -R --delete --timeout=180 ./ --include="prometheus.yml" --exclude="*" vmagent@ 阅读全文
posted @ 2022-07-10 20:09 明天OoO你好 阅读(355) 评论(0) 推荐(0) 编辑
摘要: https://codeantenna.com/a/BMC65HDGPV https://blog.csdn.net/weixin_38073361/article/details/105588182 https://blog.csdn.net/weixin_38204423/article/det 阅读全文
posted @ 2022-07-06 21:02 明天OoO你好 阅读(632) 评论(0) 推荐(0) 编辑
摘要: 1. 字符串处理 1.1 去除空白符 // this data still needs to be parsed lines = strings.Split(r.Output, "\n") for i = range lines { lines[i] = strings.TrimSpace(line 阅读全文
posted @ 2022-06-30 08:47 明天OoO你好 阅读(49) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/machangwei-8/p/15686096.html 阅读全文
posted @ 2022-06-25 14:07 明天OoO你好 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 首先原因是因为禁止了DEBUGDEBUG = False,所以导致找不到静态资源,但是生产环境是必须要关闭DEBUG的,所以我们需要找给Django开设一条路由来解决此问题。 settings配置如下所示: STATIC_URL = '/static/' if DEBUG: STATICFILES_ 阅读全文
posted @ 2022-06-23 15:24 明天OoO你好 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 首先需要创建host_vars.yml文件(可以根据需要建在任意位置) /home/ops/ansible/vars/host_vars.yml # vars file for node_exporter hosts: - busi: zhudong machines: - ip: '10.96.1 阅读全文
posted @ 2022-06-19 09:25 明天OoO你好 阅读(596) 评论(0) 推荐(0) 编辑
摘要: https://www.junmajinlong.com/ansible/8_learn_back/ https://www.zsythink.net/archives/category/%e8%bf%90%e7%bb%b4%e7%9b%b8%e5%85%b3/ansible/ 阅读全文
posted @ 2022-06-15 22:06 明天OoO你好 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 1、prometheus、grafana、alertmanager安装与使用详细教程 https://www.cnblogs.com/gered/p/13476061.html#autoid-6-3-0 2、alertmanager深入配置 https://www.cnblogs.com/gered 阅读全文
posted @ 2022-06-08 09:01 明天OoO你好 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 一. 集群建设 https://www.cnblogs.com/rongfengliang/p/12793136.html 2. https://www.cnblogs.com/fengjian2016/p/15840068.html 3. https://www.gaojila.red/victo 阅读全文
posted @ 2022-05-25 22:28 明天OoO你好 阅读(288) 评论(0) 推荐(0) 编辑
摘要: ipmitool -H 172.23.109.3(远程机器的ipmi地址) -U admin(远程机器的ipmi用户) -a -I lanplus power status https://www.inadm.com/2019/06/21/ipmitool/ 阅读全文
posted @ 2022-05-22 11:11 明天OoO你好 阅读(226) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 23 下一页