04 2021 档案

摘要:1、https://github.com/feiyu563/PrometheusAlert PrometheusAlert是开源的运维告警中心消息转发系统,支持主流的监控系统Prometheus、Zabbix,日志系统Graylog2,Graylog3、数据可视化系统Grafana、SonarQub 阅读全文
posted @ 2021-04-21 14:14 s。 阅读(97) 评论(0) 推荐(0)
摘要:本次的想法是做服务监控 并告警 主要线路如下图所示 1、运行prometheus docker方式 docker run -itd \ -p 9090:9090 \ -v /opt/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml \ 阅读全文
posted @ 2021-04-21 10:32 s。 阅读(251) 评论(2) 推荐(0)
摘要:1、安装yum install -y yum-utils 保证有yum-config-manager 命令 yum install -y yum-utils 2、国内选择一个源 yum-config-manager --add-repo http://mirrors.aliyun.com/docke 阅读全文
posted @ 2021-04-19 10:01 s。 阅读(56) 评论(0) 推荐(0)
摘要:mac 上build go 如果想要在centos上面执行 必须使用下面的方式 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o hello hello.go 不然会报错 :cannot execute binary file 阅读全文
posted @ 2021-04-16 17:58 s。 阅读(49) 评论(0) 推荐(0)
摘要:1、查找 command + F 2、查找并替换 选中要替换的文字 再 command + options + F 3、竖状区域部分替换 鼠标点中替换字段的开头或者结尾,按options + shift 上下拖动 并左右拖动 一键编辑替换 或者复制替换 4、字母大小写转换设置 https://www 阅读全文
posted @ 2021-04-15 10:23 s。 阅读(693) 评论(0) 推荐(0)
摘要:1、设置secureCRT不掉线的方法 Options—>Global Options—>General—>Default Session—>Edit Default Settings—>Terminal—>Anti-idle选中Send protocol NO-OP every 120 secon 阅读全文
posted @ 2021-04-07 14:12 s。 阅读(731) 评论(0) 推荐(0)