摘要:
定时任务 */5 * * * * cd /home/ops/prometheus-2.3.0.linux-amd64/;rsync -artz -R --delete --timeout=180 ./ --include="prometheus.yml" --exclude="*" vmagent@ 阅读全文
摘要:
https://codeantenna.com/a/BMC65HDGPV https://blog.csdn.net/weixin_38073361/article/details/105588182 https://blog.csdn.net/weixin_38204423/article/det 阅读全文
摘要:
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 阅读全文
摘要:
https://www.cnblogs.com/machangwei-8/p/15686096.html 阅读全文
摘要:
首先原因是因为禁止了DEBUGDEBUG = False,所以导致找不到静态资源,但是生产环境是必须要关闭DEBUG的,所以我们需要找给Django开设一条路由来解决此问题。 settings配置如下所示: STATIC_URL = '/static/' if DEBUG: STATICFILES_ 阅读全文
摘要:
首先需要创建host_vars.yml文件(可以根据需要建在任意位置) /home/ops/ansible/vars/host_vars.yml # vars file for node_exporter hosts: - busi: zhudong machines: - ip: '10.96.1 阅读全文
摘要:
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/ 阅读全文
摘要:
1、prometheus、grafana、alertmanager安装与使用详细教程 https://www.cnblogs.com/gered/p/13476061.html#autoid-6-3-0 2、alertmanager深入配置 https://www.cnblogs.com/gered 阅读全文
摘要:
一. 集群建设 https://www.cnblogs.com/rongfengliang/p/12793136.html 2. https://www.cnblogs.com/fengjian2016/p/15840068.html 3. https://www.gaojila.red/victo 阅读全文
摘要:
ipmitool -H 172.23.109.3(远程机器的ipmi地址) -U admin(远程机器的ipmi用户) -a -I lanplus power status https://www.inadm.com/2019/06/21/ipmitool/ 阅读全文