上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: logstash.conf: 10.10.10.149 给三部弄windows日志 input { beats { port => 5044 } } filter { ruby { code => "event.set('timestamp', event.get('@timestamp').tim 阅读全文
posted @ 2021-01-07 15:07 alexhe 阅读(713) 评论(0) 推荐(0)
摘要: rancher api: https://10.10.10.90/k8s/clusters/c-x985z/api/v1/namespaces/cattle-prometheus/services/expose-kubernetes-metrics:8080/proxy/ https://10.11 阅读全文
posted @ 2020-12-24 09:25 alexhe 阅读(601) 评论(0) 推荐(0)
摘要: cadvisor监控: curl -k https://10.10.10.95:10250/metrics -H "Authorization: Bearer token-qz4w7:b5s2kwwsh8v47xq8gl7b97zrjgjkb7srr78n2wxrmmvlvc8gqgd7fr" ca 阅读全文
posted @ 2020-12-11 17:31 alexhe 阅读(1059) 评论(0) 推荐(0)
摘要: 启动程序介绍: ExecStart=/usr/local/prometheus/prometheus #启动运行prometheus程序所在的路径--config.file=/usr/local/prometheus/prometheus.yml #指定prometheus.yml配置文件路径--s 阅读全文
posted @ 2020-10-28 17:25 alexhe 阅读(564) 评论(0) 推荐(0)
摘要: https://www.imooc.com/coursescore/1231 安装prom 启动 ./prometheus --config.file=prometheus.yml 启动,并可以通过web动态更新配置 ./prometheus --config.file=prometheus.yml 阅读全文
posted @ 2020-10-26 13:19 alexhe 阅读(190) 评论(0) 推荐(0)
摘要: 回滚django的migration: https://stackoverflow.com/questions/32123477/django-revert-last-migration I've made a migration that added a new table and want to 阅读全文
posted @ 2020-07-28 09:21 alexhe 阅读(1173) 评论(0) 推荐(0)
摘要: projectsedu.com 安装virtualenvwrapper pip install virtualenvwrapperln -s /home/xxxx/.local/bin/virtualenv /usr/bin/virtualenv 编辑.bashrc文件 export WORKON_ 阅读全文
posted @ 2020-07-22 23:44 alexhe 阅读(316) 评论(0) 推荐(0)
摘要: echo "deb https://mirrors.aliyun.com/debian/ bullseye main non-free contribdeb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contribde 阅读全文
posted @ 2020-07-01 16:35 alexhe 阅读(203) 评论(0) 推荐(0)
摘要: es参数: index.refresh_inteval 默认每隔1s统一处理一次新加入的文档。 index.refresh_interval 默认30s。如果索引在一段时间内没有收到检索数据的请求,至少要等30s后才会刷新索引数据。 创建索引 put alextest 查看索引 get alexte 阅读全文
posted @ 2020-06-24 14:11 alexhe 阅读(458) 评论(0) 推荐(0)
摘要: 查询每个模块的用法: ansible-doc yum 列出已安装的模块文档: ansible-doc -l cat nodes.txt [k8s-rancher]192.168.219.101 [k8s-k8s1]#192.168.219.102 ansible_ssh_pass=root ansi 阅读全文
posted @ 2020-06-08 11:01 alexhe 阅读(256) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页